From 2664ea8622e500cc8d5a225e00d7199f1cfefc5e Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Fri, 3 Mar 2023 00:25:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4config-template?= =?UTF-8?q?=E4=B8=AD=E5=AF=B9=E8=AF=9D=E8=A7=92=E8=89=B2=E7=9A=84=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-template.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/config-template.py b/config-template.py index 9655e77f..fbebb710 100644 --- a/config-template.py +++ b/config-template.py @@ -128,7 +128,7 @@ prompt_submit_length = 1024 # # 具体请查看OpenAI的文档: https://beta.openai.com/docs/api-reference/completions/create completion_api_params = { - "model": "text-davinci-003", + "model": "gpt-3.5-turbo", "temperature": 0.9, # 数值越低得到的回答越理性,取值范围[0, 1] "max_tokens": 512, # 每次获取OpenAI接口响应的文字量上限, 不高于4096 "top_p": 1, # 生成的文本的文本与要求的符合度, 取值范围[0, 1] @@ -151,14 +151,6 @@ include_image_description = True # 消息处理的超时时间,单位为秒 process_message_timeout = 30 -# 会话对象名称,此配置与会话对象管理相关, -# 若不了解相关功能,无需修改此配置 -# 详细说明请查看:https://github.com/RockChinQ/QChatGPT/wiki/%E6%8A%80%E6%9C%AF%E4%BF%A1%E6%81%AF#%E4%BC%9A%E8%AF%9Dsession -# user_name: 管理员(主人)的名字 -# bot_name: 机器人的名字 -user_name = 'You' -bot_name = 'Bot' - # [暂未实现] 群内会话是否启用多对象名称 # 若不启用,群内会话的prompt只使用user_name和bot_name multi_subject = False