2023-05-16 07:02:53 +00:00
|
|
|
|
|
|
|
# Your openai api key. (required)
|
2023-05-16 06:34:35 +00:00
|
|
|
OPENAI_API_KEY=sk-xxxx
|
2023-05-16 07:02:53 +00:00
|
|
|
|
|
|
|
# Access passsword, separated by comma. (optional)
|
2023-05-16 06:34:35 +00:00
|
|
|
CODE=your-password
|
|
|
|
|
2023-05-16 07:02:53 +00:00
|
|
|
# You can start service behind a proxy
|
|
|
|
PROXY_URL=http://localhost:7890
|
|
|
|
|
|
|
|
# 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=
|
|
|
|
|
2023-11-08 07:53:45 +00:00
|
|
|
# (optional)
|
|
|
|
# Default: Empty
|
|
|
|
# If you do not want users to use GPT-4, set this value to 1.
|
|
|
|
DISABLE_GPT4=
|
|
|
|
|
2023-05-16 07:02:53 +00: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=
|
|
|
|
|
|
|
|
# (optional)
|
|
|
|
# Default: Empty
|
2023-11-07 23:09:52 +00:00
|
|
|
# If you do want users to query balance, set this value to 1.
|
|
|
|
ENABLE_BALANCE_QUERY=
|
2023-06-25 12:20:36 +00:00
|
|
|
|
|
|
|
# (optional)
|
|
|
|
# Default: Empty
|
2023-11-07 23:09:52 +00:00
|
|
|
# If you want to disable parse settings from url, set this value to 1.
|
|
|
|
DISABLE_FAST_LINK=
|