Allow setting OpenAI model in settings (#1386)

feat(settings): Allow setting openai model to be used. Default to GPT 3.5
This commit is contained in:
3ly-13
2023-12-09 13:13:00 -06:00
committed by GitHub
parent a3ed14c58f
commit a072a40a7c
4 changed files with 11 additions and 2 deletions

View File

@@ -38,6 +38,8 @@ llm:
openai:
api_key: <your_openai_api_key> # You could skip this configuration and use the OPENAI_API_KEY env var instead
model: <openai_model_to_use> # Optional model to use. Default is "gpt-3.5-turbo"
# Note: Open AI Models are listed here [here](https://platform.openai.com/docs/models)
```
And run PrivateGPT loading that profile you just created: