2024-08-02 15:49:58 +08:00
|
|
|
"""
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
2024-05-21 22:48:41 +08:00
|
|
|
# Global configs:
|
2024-08-02 15:49:58 +08:00
|
|
|
USE_AZURE=False
|
|
|
|
|
USE_AZURE_TOKEN_PROVIDER=False
|
2024-05-21 22:48:41 +08:00
|
|
|
MAX_RETRY=10
|
|
|
|
|
RETRY_WAIT_SECONDS=20
|
2024-07-30 18:06:48 +08:00
|
|
|
|
2024-08-02 15:49:58 +08:00
|
|
|
# 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>
|
2024-05-21 22:48:41 +08:00
|
|
|
|
|
|
|
|
EMBEDDING_MODEL=text-embedding-3-small
|
2024-08-02 15:49:58 +08:00
|
|
|
# EMBEDDING_AZURE_API_BASE=<for_Azure_user>
|
|
|
|
|
# EMBEDDING_AZURE_API_VERSION=<for_Azure_user>
|
2024-05-21 22:48:41 +08:00
|
|
|
|
2024-08-02 15:49:58 +08:00
|
|
|
# Cache Setting (Optional):
|
|
|
|
|
|
|
|
|
|
# Senario Configs:
|