Your code is configured to use Qdrant in local/embedded mode, which stores all vectors as files in the qdrant_db/ directory. No server installation needed!
Advantages:
- ✅ No server to install or manage
- ✅ Data stored as files in your project
- ✅ Portable - copy
qdrant_db/folder to move data - ✅ Perfect for development and testing
- ✅ Works offline
How it works:
from qdrant_client import QdrantClient
# Local mode - stores in directory
client = QdrantClient(path="./qdrant_db")That's it! This creates a file-based database in ./qdrant_db/
Advantages:
- ✅ Better performance for large datasets
- ✅ Multiple clients can connect
- ✅ Web dashboard UI
- ✅ Advanced monitoring
How it works:
from qdrant_client import QdrantClient
# Server mode - connects to running Qdrant server
client = QdrantClient(url="http://localhost:6333")# Line 62-64
self.qdrant_client = QdrantClient(
path=self.config.get("qdrant_path", "./qdrant_db") # ← Local mode!
)Storage location: ./qdrant_db/
Let me check this: