Skip to content

Commit adbad4a

Browse files
authored
feat: Qdrant vector search (#271)
Signed-off-by: Anush008 <anushshetty90@gmail.com>
1 parent 2699424 commit adbad4a

5 files changed

Lines changed: 716 additions & 1 deletion

File tree

config/config.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ processing:
140140
storage:
141141
enabled: true
142142
backends:
143+
# Vector database configuration - Choose either ChromaDB or Qdrant
144+
# ChromaDB (default)
143145
- name: "default_vector"
144146
storage_type: "vector_db"
145147
backend: "chromadb"
@@ -148,6 +150,24 @@ storage:
148150
path: "${CONTEXT_PATH:.}/persist/chromadb"
149151
collection_prefix: "opencontext"
150152

153+
# Qdrant (alternative vector database)
154+
# Uncomment to use Qdrant instead of ChromaDB:
155+
# - name: "default_vector"
156+
# storage_type: "vector_db"
157+
# backend: "qdrant"
158+
# config:
159+
# # Vector size MUST match your embedding model's output dimension
160+
# vector_size: 1536 # Set this to match embedding_model.output_dim above (line 37)
161+
#
162+
# # Local mode (uses file-based storage):
163+
# path: "${CONTEXT_PATH:.}/persist/qdrant"
164+
#
165+
# # Server mode (comment out 'path' above and uncomment the settings below):
166+
# # host: "localhost"
167+
# # port: 6333
168+
# # https: false
169+
# # api_key: "${QDRANT_API_KEY}" # Optional: API key for authentication
170+
151171
- name: "document_store"
152172
storage_type: "document_db"
153173
backend: "sqlite"

0 commit comments

Comments
 (0)