mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 17:13:15 +00:00
Added settings usage to the worker
This commit is contained in:
@@ -5,11 +5,12 @@ from pathlib import Path
|
||||
class Settings(BaseSettings):
|
||||
LLM_NAME: str = "openai_chat"
|
||||
EMBEDDINGS_NAME: str = "openai_text-embedding-ada-002"
|
||||
openai_token: str
|
||||
CELERY_BROKER_URL: str
|
||||
CELERY_RESULT_BACKEND: str
|
||||
MONGO_URI: str
|
||||
|
||||
API_URL: str = "http://localhost:5001"
|
||||
|
||||
API_KEY: str = None
|
||||
EMBEDDINGS_KEY: str = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user