forked from anse-app/chatgpt-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
16 lines (16 loc) · 743 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Your API Key for OpenAI
OPENAI_API_KEY=EMPTY
# Provide proxy for OpenAI API. e.g. http://127.0.0.1:7890
HTTPS_PROXY=
# Custom base url for OpenAI API. default: https://api.openai.com
OPENAI_API_BASE_URL=http://127.0.0.1:2000
# Inject analytics or other scripts before </head> of the page
HEAD_SCRIPTS=
# Secret string for the project. Use for generating signatures for API calls
PUBLIC_SECRET_KEY=
# Set password for site, support multiple password separated by comma. If not set, site will be public
SITE_PASSWORD=
# ID of the model to use. https://platform.openai.com/docs/api-reference/models/list
OPENAI_API_MODEL="gpt-3.5-turbo"
# Set the maximum number of historical messages used for contextual contact
PUBLIC_MAX_HISTORY_MESSAGES=10