mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-01 23:27:14 +00:00
chore: 删除已被OpenAI弃用的模型 (#658)
This commit is contained in:
@@ -230,13 +230,6 @@ auto_reset = True
|
|||||||
# "gpt-3.5-turbo-0301", # legacy
|
# "gpt-3.5-turbo-0301", # legacy
|
||||||
#
|
#
|
||||||
# Completions接口:
|
# Completions接口:
|
||||||
# "text-davinci-003", # legacy
|
|
||||||
# "text-davinci-002", # legacy
|
|
||||||
# "code-davinci-002", # legacy
|
|
||||||
# "code-cushman-001", # legacy
|
|
||||||
# "text-curie-001", # legacy
|
|
||||||
# "text-babbage-001", # legacy
|
|
||||||
# "text-ada-001", # legacy
|
|
||||||
# "gpt-3.5-turbo-instruct",
|
# "gpt-3.5-turbo-instruct",
|
||||||
#
|
#
|
||||||
# 具体请查看OpenAI的文档: https://beta.openai.com/docs/api-reference/completions/create
|
# 具体请查看OpenAI的文档: https://beta.openai.com/docs/api-reference/completions/create
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class DataGatherer:
|
|||||||
|
|
||||||
以key值md5为key,{
|
以key值md5为key,{
|
||||||
"text": {
|
"text": {
|
||||||
"text-davinci-003": 文字量:int,
|
"gpt-3.5-turbo": 文字量:int,
|
||||||
},
|
},
|
||||||
"image": {
|
"image": {
|
||||||
"256x256": 图片数量:int,
|
"256x256": 图片数量:int,
|
||||||
|
|||||||
@@ -13,13 +13,6 @@ from ..openai.api import completion as api_completion
|
|||||||
from ..openai.api import chat_completion as api_chat_completion
|
from ..openai.api import chat_completion as api_chat_completion
|
||||||
|
|
||||||
COMPLETION_MODELS = {
|
COMPLETION_MODELS = {
|
||||||
"text-davinci-003", # legacy
|
|
||||||
"text-davinci-002", # legacy
|
|
||||||
"code-davinci-002", # legacy
|
|
||||||
"code-cushman-001", # legacy
|
|
||||||
"text-curie-001", # legacy
|
|
||||||
"text-babbage-001", # legacy
|
|
||||||
"text-ada-001", # legacy
|
|
||||||
"gpt-3.5-turbo-instruct",
|
"gpt-3.5-turbo-instruct",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user