Skip to main content

Code

cookbook/08_knowledge/vector_db/qdrant_db/qdrant_db_hybrid_search.py
To use hybrid search without internet access, pre-cache the model and pass fastembed_kwargs={"local_files_only": True, "cache_dir": "/path/to/local/model/cache"} to load models from the cache and disable downloads:

Usage

1

Set up your virtual environment

2

Install dependencies

3

Run Qdrant

4

Run Agent