-
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update env example and configuration list.
Also change api priority
- Loading branch information
1 parent
213d9ec
commit 47407ae
Showing
4 changed files
with
86 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,30 @@ | ||
""" | ||
This file is a template for the .env file. | ||
|
||
Please copy this file to .env and fill in the values. | ||
|
||
For more information about configuration options, please refer to the documentation | ||
|
||
""" | ||
|
||
# Global configs: | ||
USE_AZURE=False | ||
USE_AZURE_TOKEN_PROVIDER=False | ||
MAX_RETRY=10 | ||
RETRY_WAIT_SECONDS=20 | ||
|
||
# api key | ||
OPENAI_API_KEY=your_api_key | ||
# LLM API Setting: | ||
OPENAI_API_KEY=<your_api_key> | ||
CHAT_MODEL=gpt-4-turbo | ||
CHAT_MAX_TOKENS=3000 | ||
CHAT_TEMPERATURE=0.7 | ||
# CHAT_AZURE_API_BASE=<for_Azure_user> | ||
# CHAT_AZURE_API_VERSION=<for_Azure_user> | ||
|
||
# embedding model configs: | ||
EMBEDDING_MODEL=text-embedding-3-small | ||
# EMBEDDING_AZURE_API_BASE=<for_Azure_user> | ||
# EMBEDDING_AZURE_API_VERSION=<for_Azure_user> | ||
|
||
# chat model configs: | ||
CHAT_MODEL=your_model_version | ||
CHAT_MAX_TOKENS=3000 | ||
CHAT_TEMPERATURE=0.7 | ||
CHAT_STREAM=True | ||
# Cache Setting (Optional): | ||
|
||
# Senario Configs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters