Pre-built Agents
RAG Powered Agents
Advanced Configuration
Vector Databases
Qdrant

Vector Store: Qdrant

Qdrant is a vector similarity search engine that provides a production-ready service with a convenient API for storing, searching, and managing embeddings.


1. Configuration Parameters

Specify your Qdrant configuration within vector_store_params:

ParameterTypeDefaultDescription
vector_store_typestring"QdrantVectorStore"Identifier of the Qdrant vector store wrapper.
urlstringNoneThe HTTP endpoint for your hosted Qdrant cluster.
api_keystringNoneAuthentication key.
collection_namestringNoneThe Qdrant collection name to store the embeddings in.

2. Configuration Example

Here is a Python example configuring a ChatBot with Qdrant:

from aih import ChatBot
 
qdrant_config = {
    "vector_store_type": "QdrantVectorStore",
    "url": "https://your-qdrant-instance.gcp.qdrant.io:6333",
    "api_key": "your_qdrant_api_key",
    "collection_name": "aih_docs_collection"
}
 
chatbot = ChatBot.pdf_chat(
    input_files=["./brochure.pdf"],
    vector_store_params=qdrant_config
)