haystack_Qdrant_colab.ipynb shows how to use Qdrant Cloud as the vector database inside a Haystack pipeline. Built for Google Colab, it reads QDRANT_URL and QDRANT_API_KEY from Colab secrets.
- Create a cloud-backed
QdrantDocumentStore - Embed and index documents (
SetFit/ag_newsslice) with Haystack pipelines - Semantic retrieval via
QdrantEmbeddingRetriever - Create a Qdrant payload index on
meta.label_namefor faster filtered search - Combine vector search with metadata filters
- Open the notebook in Google Colab.
- Add
QDRANT_URLandQDRANT_API_KEYto Colab secrets. - Run cells top to bottom. The install cell pulls
haystack-ai,qdrant-haystack,sentence-transformers,datasets, andfastembed-haystack.