.env.template
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
Your openai api key. (required)
CODE
Access passsword, separated by comma. (optional)
PROXY_URL
You can start service behind a proxy
BASE_URL
Override openai api request base url. (optional) Default: https://api.openai.com Examples: http://your-openai-proxy.com
OPENAI_ORG_ID
secret
Specify OpenAI organization ID.(optional) Default: Empty
HIDE_USER_API_KEY
secret
(optional) Default: Empty If you do not want users to input their own API key, set this value to 1.
DISABLE_GPT4
(optional) Default: Empty If you do not want users to use GPT-4, set this value to 1.
HIDE_BALANCE_QUERY
(optional) Default: Empty If you do not want users to query balance, set this value to 1.