English | 简体中文
Forked from chatgpt-demo. Find deployment instructions in the original repository.
main
: the base branch containing all the stylesendless
: includes token-based message list trimmingpromplate-demo
: active developed, for demonstrating the usage ofpromplate
You can control the website through environment variables.
Name | Description | Default |
---|---|---|
OPENAI_API_KEY |
Your API Key for OpenAI. | null |
OPENAI_API_TEMPERATURE |
Default temperature parameter for model. |
1.0 |
HTTPS_PROXY |
Provide proxy for OpenAI API. | null |
OPENAI_API_BASE_URL |
Custom base url for OpenAI API. | https://api.openai.com |
HEAD_SCRIPTS |
Inject analytics or other scripts before </head> of the page |
null |
PUBLIC_SECRET_KEY |
Secret string for the project. Use for generating signatures for API calls | null |
SITE_PASSWORD |
Set password for site. If not set, site will be public | null |
OPENAI_API_MODEL |
ID of the model to use. Model endpoint compatibility | gpt-4o-mini |
TUTORIAL_MD_URL |
url of the tutorial markdown file | null |
PUBLIC_IFRAME_URL |
url of the advertisement iframe | null |
UNDICI_UA |
user-agent for backend requests | (forward) |
PUBLIC_RIGHT_ALIGN_MY_MSG |
whether user messages should be right-aligned | null |
PUBLIC_CL100K_BASE_JSON_URL |
CDN url for cl100k_base.json , such as file at jsdelivr.net |
null |
PUBLIC_TIKTOKEN_BG_WASM_URL |
CDN url for tiktoken_bg.wasm , such as file at esm.sh |
null |
This project exists thanks to all those who contributed to the original project.
Thank you to all our supporters!🙏
MIT © Muspi Merol