Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Haystack + Qdrant Integration

Haystack logo   ➕   Qdrant logo

Open In Colab

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.

What it covers

  • Create a cloud-backed QdrantDocumentStore
  • Embed and index documents (SetFit/ag_news slice) with Haystack pipelines
  • Semantic retrieval via QdrantEmbeddingRetriever
  • Create a Qdrant payload index on meta.label_name for faster filtered search
  • Combine vector search with metadata filters

Run it

  1. Open the notebook in Google Colab.
  2. Add QDRANT_URL and QDRANT_API_KEY to Colab secrets.
  3. Run cells top to bottom. The install cell pulls haystack-ai, qdrant-haystack, sentence-transformers, datasets, and fastembed-haystack.