Add ChromaDB implementation

This commit is contained in:
2025-12-10 12:46:17 +00:00
parent 57f37c8dc0
commit 6c8d6d0940
7 changed files with 384 additions and 7 deletions

View File

@@ -34,6 +34,11 @@ class Config:
MONGODB_URI = os.getenv('MONGODB_URI', 'mongodb://localhost:27017/')
DB_NAME = 'munich_news'
# ChromaDB Configuration
CHROMA_HOST = os.getenv('CHROMA_HOST', 'chromadb')
CHROMA_PORT = int(os.getenv('CHROMA_PORT', '8000'))
CHROMA_COLLECTION = 'munich_news_articles'
# Ollama Configuration
OLLAMA_BASE_URL = os.getenv('OLLAMA_BASE_URL', 'http://localhost:11434')
OLLAMA_MODEL = os.getenv('OLLAMA_MODEL', 'phi3:latest')