Configuration for QdrantVectorStore.

interface QdrantVectorStoreConfig {
    url?: string;
    apiKey?: string;
    collectionName?: string;
    dimensions?: number;
    distance?: "Cosine" | "Euclid" | "Dot";
    createCollectionIfNotExists?: boolean;
    https?: boolean;
}

Properties

url?: string

Qdrant server URL.

"http://localhost:6333"
apiKey?: string

API key for Qdrant Cloud or authenticated instances.

collectionName?: string

Collection name to use for storing vectors.

"memories"
dimensions?: number

Vector dimensions. Required for auto-creating collections. If not provided, collection must already exist.

distance?: "Cosine" | "Euclid" | "Dot"

Distance metric for similarity search.

"Cosine"
createCollectionIfNotExists?: boolean

Whether to create the collection if it doesn't exist.

true
https?: boolean

Use HTTPS for connection.

false (auto-detected from URL)