Support for hf models optimised for docsgpt

This commit is contained in:
Alex
2023-08-15 14:14:49 +01:00
parent fcdc7b7aeb
commit e593241d75
3 changed files with 18 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ class Settings(BaseSettings):
MONGO_URI: str = "mongodb://localhost:27017/docsgpt"
MODEL_PATH: str = "./models/gpt4all-model.bin"
TOKENS_MAX_HISTORY: int = 150
SELF_HOSTED_MODEL: bool = False
API_URL: str = "http://localhost:7091" # backend url for celery worker