mirror of
https://github.com/tiennm99/danswer-docs.git
synced 2026-09-04 08:19:18 +00:00
22 lines
813 B
Plaintext
22 lines
813 B
Plaintext
---
|
|
title: OpenAI Options
|
|
description: 'Configure Danswer to use different OpenAI models'
|
|
---
|
|
|
|
Refer to [Model Configs](https://docs.danswer.dev/gen_ai_configs/overview#model-configs) for how to set the
|
|
environment variables for your particular deployment.
|
|
|
|
The default Danswer model is GPT-3.5-Turbo so if you wish to use this, there's no need to change anything.
|
|
|
|
## Set Danswer to use GPT-4
|
|
- INTERNAL_MODEL_VERSION=openai-chat-completion
|
|
- GEN_AI_MODEL_VERSION=gpt-4
|
|
- GEN_AI_API_KEY=<your-gpt4-compatible-key>
|
|
- You can also leave this unset and set it later via the UI
|
|
|
|
## Set Danswer to use Text-Davinci-003
|
|
- INTERNAL_MODEL_VERSION=openai-completion
|
|
- GEN_AI_MODEL_VERSION=text-davinci-003
|
|
- GEN_AI_API_KEY=<your-openai-key>
|
|
- You can also leave this unset and set it later via the UI
|