mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-16 07:20:59 +00:00
feat(modelmgr.py): 完善可选模型列表
This commit is contained in:
+18
-4
@@ -1,12 +1,26 @@
|
|||||||
# 提供与模型交互的抽象接口
|
# 提供与模型交互的抽象接口
|
||||||
import openai, logging
|
import openai, logging
|
||||||
|
|
||||||
CHAT_COMPLETION_MODELS = {
|
COMPLETION_MODELS = {
|
||||||
'gpt-3.5-turbo'
|
'text-davinci-003',
|
||||||
|
'text-davinci-002',
|
||||||
|
'code-davinci-002',
|
||||||
|
'code-cushman-001',
|
||||||
|
'text-curie-001',
|
||||||
|
'text-babbage-001',
|
||||||
|
'text-ada-001',
|
||||||
}
|
}
|
||||||
|
|
||||||
COMPLETION_MODELS = {
|
CHAT_COMPLETION_MODELS = {
|
||||||
'text-davinci-003'
|
'gpt-3.5-turbo',
|
||||||
|
'gpt-3.5-turbo-0301',
|
||||||
|
'text-davinci-003',
|
||||||
|
'text-davinci-002',
|
||||||
|
'code-davinci-002',
|
||||||
|
'code-cushman-001',
|
||||||
|
'text-curie-001',
|
||||||
|
'text-babbage-001',
|
||||||
|
'text-ada-001',
|
||||||
}
|
}
|
||||||
|
|
||||||
EDIT_MODELS = {
|
EDIT_MODELS = {
|
||||||
|
|||||||
Reference in New Issue
Block a user