Create .env

This commit is contained in:
Emil Alvaro AitekPH 2024-07-24 11:43:24 +08:00 committed by GitHub
parent 00be2be24f
commit 1488952793
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

69
.env Normal file
View File

@ -0,0 +1,69 @@
# Your openai api key. (required)
OPENAI_API_KEY=ffdbe388952a40e09caf22ef374558dba96a37624c94c2cd83a0e52e4f73b958
# Access password, separated by comma. (optional)
CODE=120221
# You can start service behind a proxy. (optional)
PROXY_URL=https://api.together.xyz/v1
# (optional)
# Default: Empty
# Google Gemini Pro API key, set if you want to use Google Gemini Pro API.
GOOGLE_API_KEY=AIzaSyB2cqtEh-bPo1X_6CEgkFIYeibSUGr-ckM
# (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=https://generativelanguage.googleapis.com/
# Override openai api request base url. (optional)
# Default: https://api.openai.com
# Examples: http://your-openai-proxy.com
BASE_URL=https://api.together.xyz/v1
# Specify OpenAI organization ID.(optional)
# Default: Empty
#OPENAI_ORG_ID=
# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=1
# (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 want users to query balance, set this value to 1.
ENABLE_BALANCE_QUERY=1
# (optional)
# Default: Empty
# If you want to disable parse settings from url, set this value to 1.
DISABLE_FAST_LINK=
# (optional)
# Default: Empty
# To control custom , use + to add a custom model, use - to hide a model, use name=displayName to customize model name, separated by comma.
CUSTOM_MODELS=+Meta-Llama-3-70B-Instruct-Turbo, deepseek-ai/deepseek-llm-67b-chat, stabilityai/stable-diffusion-2-1
# (optional)
# Default: Empty
# Change default model
DEFAULT_MODEL=Meta-Llama-3-70B-Instruct-Turbo
# anthropic claude Api Key.(optional)
ANTHROPIC_API_KEY=
### anthropic claude Api version. (optional)
ANTHROPIC_API_VERSION=
### anthropic claude Api url (optional)
ANTHROPIC_URL=
### (optional)
WHITE_WEBDEV_ENDPOINTS=