Don't create collection if it already exists + fix OpenAI API Key name (#66)

* Don't create collection if it already exists

* Fix openai api key name
This commit is contained in:
Chris Weaver
2023-05-17 17:12:00 -07:00
committed by GitHub
parent 8685beceb2
commit 0b46ea76e8
6 changed files with 17 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ OPENAI_API_KEY=
INTERNAL_MODEL_VERSION=openai-chat-completion
# Use a valid model for the choice above, consult https://platform.openai.com/docs/models/model-endpoint-compatibility
OPENAPI_MODEL_VERSION=gpt-3.5-turbo
OPENAI_MODEL_VERSION=gpt-3.5-turbo
# Can leave these as defaults

View File

@@ -8,7 +8,7 @@ OPENAI_API_KEY=
# Choose between "openai-chat-completion" and "openai-completion"
INTERNAL_MODEL_VERSION=openai-chat-completion
# Use a valid model for the choice above, consult https://platform.openai.com/docs/models/model-endpoint-compatibility
OPENAPI_MODEL_VERSION=gpt-4
OPENAI_MODEL_VERSION=gpt-4
# Could be something like danswer.companyname.com. Requires additional setup if not localhost
WEB_DOMAIN=http://localhost:3000