Skip to content

Commit

Permalink
chore: gpt-3.5-turbo => GPT3.5 Turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
Keldos-Li committed Dec 22, 2023
1 parent 5a9cee3 commit 3b194b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"local_embedding": false, //是否在本地编制索引
"hide_history_when_not_logged_in": false, //未登录情况下是否不展示对话历史
"check_update": true, //是否启用检查更新
"default_model": "gpt-3.5-turbo", // 默认模型
"default_model": "GPT3.5 Turbo", // 默认模型
"chat_name_method_index": 2, // 选择对话名称的方法。0: 使用日期时间命名;1: 使用第一条提问命名,2: 使用模型自动总结
"bot_avatar": "default", // 机器人头像,可填写本地或网络图片链接,或者"none"(不显示头像)
"user_avatar": "default", // 用户头像,可填写本地或网络图片链接,或者"none"(不显示头像)
Expand Down
2 changes: 1 addition & 1 deletion modules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def update_doc_config(two_column_pdf):
assert server_port is None or type(server_port) == int, "要求port设置为int类型"

# 设置默认model
default_model = config.get("default_model", "")
default_model = config.get("default_model", "GPT3.5 Turbo")
try:
if default_model in presets.MODELS:
presets.DEFAULT_MODEL = presets.MODELS.index(default_model)
Expand Down
4 changes: 2 additions & 2 deletions modules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1241,10 +1241,10 @@ def setup_wizard():
"default_model",
"默认模型",
type=ConfigType.String,
default="gpt-3.5-turbo",
default="GPT3.5 Turbo",
)
],
"是否更改默认模型?如果设置,软件启动时会自动加载该模型,无需在 UI 中手动选择。目前的默认模型为 gpt-3.5-turbo。可选的在线模型有:"
"是否更改默认模型?如果设置,软件启动时会自动加载该模型,无需在 UI 中手动选择。目前的默认模型为 GPT3.5 Turbo。可选的在线模型有:"
+ "\n"
+ "\n".join(ONLINE_MODELS)
+ "\n"
Expand Down

0 comments on commit 3b194b1

Please sign in to comment.