fix for sending sources + azure embeddings issue

This commit is contained in:
Alex
2023-06-15 11:35:21 +01:00
parent 39024ce2ac
commit 94cc18bd71
6 changed files with 20 additions and 24 deletions

View File

@@ -16,9 +16,9 @@ class Settings(BaseSettings):
API_KEY: str = None # LLM api key
EMBEDDINGS_KEY: str = None # api key for embeddings (if using openai, just copy API_KEY
OPENAI_API_BASE: str = "" # azure openai api base url
OPENAI_API_VERSION: str = "" # azure openai api version
AZURE_DEPLOYMENT_NAME: str = "" # azure deployment name
OPENAI_API_BASE: str = None # azure openai api base url
OPENAI_API_VERSION: str = None # azure openai api version
AZURE_DEPLOYMENT_NAME: str = None # azure deployment name
path = Path(__file__).parent.parent.absolute()