fix: add singleton, logging, connection handle

This commit is contained in:
Alex
2024-10-15 11:35:37 +01:00
parent b3c075714c
commit 204b1b1963
2 changed files with 59 additions and 99 deletions

View File

@@ -22,9 +22,7 @@ class Settings(BaseSettings):
RETRIEVERS_ENABLED: list = ["classic_rag", "duckduck_search"] # also brave_search
# LLM Cache
REDIS_HOST: str = "localhost"
REDIS_PORT: int = 6379
REDIS_DB: int = 0
CACHE_REDIS_URL: str = "redis://localhost:6379/2"
API_URL: str = "http://localhost:7091" # backend url for celery worker