|
@@ -0,0 +1,48 @@
|
|
|
+# ContextPath
|
|
|
+
|
|
|
+BASE_PATH=/chat
|
|
|
+
|
|
|
+# Your openai api key. (required)
|
|
|
+OPENAI_API_KEY=sk-xxxx
|
|
|
+
|
|
|
+# Access passsword, separated by comma. (optional)
|
|
|
+CODE=
|
|
|
+
|
|
|
+# You can start service behind a proxy
|
|
|
+PROXY_URL=http://10.10.0.6:13123
|
|
|
+
|
|
|
+# Override openai api request base url. (optional)
|
|
|
+# Default: https://api.openai.com
|
|
|
+# Examples: http://your-openai-proxy.com
|
|
|
+BASE_URL=http://10.10.0.1:20003/
|
|
|
+#BASE_URL=http://10.10.0.2:20003/
|
|
|
+
|
|
|
+# 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=
|
|
|
+
|
|
|
+# (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=
|
|
|
+
|
|
|
+# (optional)
|
|
|
+# Default: Empty
|
|
|
+# If you want to disable parse settings from url, set this value to 1.
|
|
|
+DISABLE_FAST_LINK=
|
|
|
+
|
|
|
+OAUTH_CLIENT_ID=496e8739b88e42b2a0d485b0087b5d49
|
|
|
+OAUTH_CLIENT_SECRET=73f5c7cc7cd84b1c84542870b473464a
|
|
|
+OAUTH_REDIRECT_URI=https://www.tonyandmoney.cn/chat/
|
|
|
+OAUTH_AUTHORIZE_ENDPOINT=https://www.tonyandmoney.cn/oauth/authorize
|
|
|
+OAUTH_USERINFO=https://api.tonyandmoney.cn/oauth/user
|