fix openai completion model names

The model names are wrong, they need to be prefixed with `text-`.
This commit is contained in:
Toni Engelhardt 2023-09-14 18:57:48 +01:00 committed by GitHub
parent 70a36740bc
commit 6d998ea541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,14 @@ open_ai_chat_completion_models = [
"gpt-3.5-turbo-16k", "gpt-3.5-turbo-16k",
"gpt-3.5-turbo-16k-0613", "gpt-3.5-turbo-16k-0613",
] ]
open_ai_text_completion_models = ["text-davinci-003", "curie-001", "babbage-001", "ada-001", "babbage-002", "davinci-002"] open_ai_text_completion_models = [
"text-davinci-003",
"text-curie-001",
"text-babbage-001",
"text-ada-001",
"text-babbage-002",
"text-davinci-002",
]
cohere_models = [ cohere_models = [
"command-nightly", "command-nightly",