/free-chat

forked from https://github.com/anse-app/chatgpt-demo

Primary LanguageTypeScriptMIT LicenseMIT

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-16k
TUTORIAL_MD_URL url of the tutorial markdown file null
AD_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

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