Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 2.06 KB

README.md

File metadata and controls

40 lines (28 loc) · 2.06 KB

Free Chat

English | 简体中文

Forked from chatgpt-demo. Find deployment instructions in the original repository.

Environment Variables

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-3.5-turbo-1106
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

Contributing

This project exists thanks to all those who contributed to the original project.

Thank you to all our supporters!🙏

img

License

MIT © Muspi Merol