removed all python-dotenv and just let dev load from env, assuming they know variables have to be exported beforehand

This commit is contained in:
Kirstin
2025-11-20 13:49:52 +01:00
parent 5517016d3b
commit 3a473827fc
18 changed files with 7 additions and 46 deletions
@@ -57,9 +57,7 @@ To use ColBERT for retrieval, create a collection with a multivector field confi
```python
from qdrant_client import QdrantClient, models
import os
from dotenv import load_dotenv
load_dotenv()
client = QdrantClient(url=os.getenv("QDRANT_URL"), api_key=os.getenv("QDRANT_API_KEY"))
# For Colab:
@@ -32,7 +32,7 @@ A hybrid recommendation system using:
* Qdrant Cloud cluster (URL + API key)
* Python 3.9+ (or Google Colab)
* Packages: `qdrant-client`, `fastembed`, `python-dotenv`
* Packages: `qdrant-client`, `fastembed`
### Models
- **Dense**: `sentence-transformers/all-MiniLM-L6-v2` (384-dim)
@@ -56,9 +56,7 @@ First, connect to Qdrant and create a clean collection for our recommendation sy
from datetime import datetime
from qdrant_client import QdrantClient, models
import os
from dotenv import load_dotenv
load_dotenv()
client = QdrantClient(url=os.getenv("QDRANT_URL"), api_key=os.getenv("QDRANT_API_KEY"))
# For Colab:
@@ -17,9 +17,7 @@ First, you retrieve candidates from multiple sources in parallel and fuse their
```python
from qdrant_client import QdrantClient, models
import os
from dotenv import load_dotenv
load_dotenv()
client = QdrantClient(url=os.getenv("QDRANT_URL"), api_key=os.getenv("QDRANT_API_KEY"))
# For Colab:
@@ -36,9 +36,7 @@ from datetime import datetime, timedelta
from qdrant_client import QdrantClient, models
import os
from dotenv import load_dotenv
load_dotenv()
client = QdrantClient(url=os.getenv("QDRANT_URL"), api_key=os.getenv("QDRANT_API_KEY"))
# For Colab: