adding ollama embeddings and expanding to metadata search

This commit is contained in:
2025-10-23 06:58:34 +02:00
parent 5d964dfd54
commit 8b6d241921
11 changed files with 289 additions and 35 deletions

View File

@@ -55,8 +55,11 @@ async def debug_search(
# Get configuration
app_config = settings
# Initialize RAG module
rag_module = RAGModule(app_config)
# Initialize RAG module with BGE-M3 configuration
rag_config = {
"embedding_model": "BAAI/bge-m3"
}
rag_module = RAGModule(app_config, config=rag_config)
# Get available collections if none specified
if not collection_name: