NextChat-U/.env.template

173 lines
3.2 KiB
Plaintext
Raw Normal View History

# Your openai api key. (required)
OPENAI_API_KEY=
2023-11-16 10:22:56 +09:00
# Access password, separated by comma. (optional)
CODE=
2023-05-16 15:34:35 +09:00
# Override openai api request base url. (optional)
# Default: https://api.openai.com
# Examples: http://your-openai-proxy.com
BASE_URL=
# Specify OpenAI organization ID.(optional)
# Default: Empty
OPENAI_ORG_ID=
# (optional)
# Default: Empty
# Azure deployment address.
AZURE_URL=
# (optional)
# Default: Empty
# Azure key.
AZURE_API_KEY=
# (optional)
# Default: Empty
# Azure Api version, you can find it here: [Azure 文档](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions).
AZURE_API_VERSION=
2023-12-24 03:15:30 +09:00
# (optional)
# Default: Empty
# Google Gemini Pro API key, set if you want to use Google Gemini Pro API.
GOOGLE_API_KEY=
2023-12-24 03:15:30 +09:00
# (optional)
# Default: https://generativelanguage.googleapis.com/
# Google Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
GOOGLE_URL=
2023-12-24 03:15:30 +09:00
# anthropic claude Api Key.(optional)
ANTHROPIC_API_KEY=
### anthropic claude Api version. (optional)
ANTHROPIC_API_VERSION=
### anthropic claude Api url (optional)
ANTHROPIC_URL=
# (optional)
# Default: Empty
# Baidu Api Key.
BAIDU_API_KEY=
2023-11-08 16:53:45 +09:00
# (optional)
# Default: Empty
# Baidu Secret Key.
BAIDU_SECRET_KEY=
# (optional)
# Default: Empty
# Baidu Api Url.
BAIDU_URL=
# (optional)
# Default: Empty
# ByteDance Api Key.
BYTEDANCE_API_KEY=
# (optional)
# Default: Empty
# ByteDance Api Url.
BYTEDANCE_URL=
# (optional)
# Default: Empty
# 阿里云千问Api Key.
ALIBABA_API_KEY=
# (optional)
# Default: Empty
# 阿里云千问Api Url.
ALIBABA_URL=
# (optional)
# Default: Empty
# 讯飞星火Api Url.
IFLYTEK_URL=
# (optional)
# Default: Empty
# 讯飞星火Api Key.
IFLYTEK_API_KEY=
# (optional)
# Default: Empty
# 讯飞星火Api Secret.
IFLYTEK_API_SECRET=
# (optional)
# Default: Empty
# ChatGLM Api Key.
CHATGLM_API_KEY=
# (optional)
# Default: Empty
# ChatGLM Api Url.
CHATGLM_URL=
# (optional)
# Default: Empty
# DeepSeek Api Key.
DEEPSEEK_API_KEY=
# (optional)
# Default: Empty
# DeepSeek Api Url.
DEEPSEEK_URL=
2023-11-08 16:53:45 +09:00
# (optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
HIDE_USER_API_KEY=1
# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=
# (optional)
# Default: Empty
2023-11-08 08:09:52 +09:00
# If you do want users to query balance, set this value to 1.
ENABLE_BALANCE_QUERY=
# (optional)
# Default: Empty
2023-11-08 08:09:52 +09:00
# If you want to disable parse settings from url, set this value to 1.
DISABLE_FAST_LINK=
2023-12-24 03:15:30 +09:00
# (optional)
# Default: Empty
# To control custom models, use + to add a custom model, use - to hide a model, use name=displayName to customize model name, separated by comma.
CUSTOM_MODELS=
# (optional)
# Default: Empty
# Change default model
DEFAULT_MODEL=
2024-04-09 17:49:51 +09:00
# (optional)
# Default: Empty
# To add more models with vision ability, use comma to separate them.
VISION_MODELS=
2024-04-09 17:49:51 +09:00
# (optional)
# Default: Empty
# Custom default template, used to initialize '设置' -> '用户输入预处理' configuration item
DEFAULT_INPUT_TEMPLATE=
2024-04-09 17:49:51 +09:00
# (optional)
# Default: Empty
# Stability API key
STABILITY_API_KEY=
# (optional)
# Default: Empty
# Custom Stability API request url
STABILITY_URL=
2024-04-09 19:05:56 +09:00
### (optional)
WHITE_WEBDAV_ENDPOINTS=
PROXY_URL=