Ver código fonte

fix AzureOpenAI issue` (#2608)

### What problem does this PR solve?

#1599

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.12.0
Kevin Hu 1 ano atrás
pai
commit
1de3032650
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4
    4
      api/settings.py

+ 4
- 4
api/settings.py Ver arquivo

@@ -77,10 +77,10 @@ if not LIGHTEN:
"asr_model": "whisper-1",
},
"Azure-OpenAI": {
"chat_model": "azure-gpt-35-turbo",
"embedding_model": "azure-text-embedding-ada-002",
"image2text_model": "azure-gpt-4-vision-preview",
"asr_model": "azure-whisper-1",
"chat_model": "gpt-35-turbo",
"embedding_model": "text-embedding-ada-002",
"image2text_model": "gpt-4-vision-preview",
"asr_model": "whisper-1",
},
"ZHIPU-AI": {
"chat_model": "glm-3-turbo",

Carregando…
Cancelar
Salvar