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
@@ -99,14 +99,12 @@ QDRANT_URL=https://YOUR-CLUSTER.cloud.qdrant.io:6333
QDRANT_API_KEY=YOUR_API_KEY
```
Load the credentials with `dotenv` and create a Qdrant client:
Load the credentials from the environment and create a Qdrant client:
```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: