Refactored url join

This commit is contained in:
Serj
2023-04-30 10:46:52 +01:00
parent 4efcb388ff
commit 8742cdae0a
2 changed files with 8 additions and 7 deletions

View File

@@ -9,10 +9,10 @@ class Settings(BaseSettings):
CELERY_RESULT_BACKEND: str
MONGO_URI: str
API_URL: str = "http://localhost:5001"
API_URL: str = "http://localhost:5001" # backend url for celery worker
API_KEY: str = None
EMBEDDINGS_KEY: str = None
API_KEY: str = None # LLM api key
EMBEDDINGS_KEY: str = None # api key for embeddings (if using openai, just copy API_KEY
path = Path(__file__).parent.parent.absolute()