diff --git a/.env.local.example b/.env.local.example index 003bf57..752af4e 100644 --- a/.env.local.example +++ b/.env.local.example @@ -1,6 +1,6 @@ # Chatbot UI DEFAULT_MODEL=gpt-3.5-turbo -DEFAULT_SYSTEM_PROMPT=You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown. +NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT=You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown. OPENAI_API_KEY=YOUR_KEY # Google diff --git a/README.md b/README.md index 7bc4a7f..47b4966 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ When deploying the application, the following environment variables can be set: | AZURE_DEPLOYMENT_ID | | Needed when Azure OpenAI, Ref [Azure OpenAI API](https://learn.microsoft.com/zh-cn/azure/cognitive-services/openai/reference#completions) | | OPENAI_ORGANIZATION | | Your OpenAI organization ID | | DEFAULT_MODEL | `gpt-3.5-turbo` | The default model to use on new conversations, for Azure use `gpt-35-turbo` | -| DEFAULT_SYSTEM_PROMPT | [see here](utils/app/const.ts) | The default system prompt to use on new conversations | +| NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT | [see here](utils/app/const.ts) | The default system prompt to use on new conversations | | GOOGLE_API_KEY | | See [Custom Search JSON API documentation][GCSE] | | GOOGLE_CSE_ID | | See [Custom Search JSON API documentation][GCSE] |