mirror of
https://github.com/aljazceru/enclava.git
synced 2025-12-17 07:24:34 +01:00
adding ollama embeddings and expanding to metadata search
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user