:notes document (#373)

This commit is contained in:
Thomas LÉVEIL 2023-04-02 22:37:59 +02:00 committed by GitHub
parent b3b65f8ce5
commit b7732a95a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -112,10 +112,11 @@ You should be able to start chatting.
When deploying the application, the following environment variables can be set: When deploying the application, the following environment variables can be set:
| Environment Variable | Default value | Description | | Environment Variable | Default value | Description |
| -------------------- | --------------- | ------------------------------------------------------- | | --------------------- | ------------------------------ | ------------------------------------------------------- |
| OPENAI_API_KEY | | The default API key used for authentication with OpenAI | | OPENAI_API_KEY | | The default API key used for authentication with OpenAI |
| DEFAULT_MODEL | `gpt-3.5-turbo` | The default model to use on new conversations | | DEFAULT_MODEL | `gpt-3.5-turbo` | The default model to use on new conversations |
| DEFAULT_SYSTEM_PROMPT | [see here](utils/app/const.ts) | The defaut system prompt to use on new conversations |
If you do not provide an OpenAI API key with `OPENAI_API_KEY`, users will have to provide their own key. If you do not provide an OpenAI API key with `OPENAI_API_KEY`, users will have to provide their own key.
If you don't have an OpenAI API key, you can get one [here](https://platform.openai.com/account/api-keys). If you don't have an OpenAI API key, you can get one [here](https://platform.openai.com/account/api-keys).