From 0bb0493404ac0cd8512a6dc569ab2b7d85842868 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Thu, 2 Mar 2023 10:44:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=BA=9Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot24linux/configs/config.yaml | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 bot24linux/configs/config.yaml diff --git a/bot24linux/configs/config.yaml b/bot24linux/configs/config.yaml new file mode 100644 index 000000000..af46adc90 --- /dev/null +++ b/bot24linux/configs/config.yaml @@ -0,0 +1,42 @@ +openai: + # 注意:在1.7版本已支持多key自动切换,方法: + # key: + # - xxxxx + # - xxxxxx + # 在下方非注释的地方使用以上格式 + key: + - + + chatGPTConfigs: + engine: "gpt-3.5-turbo" + max_tokens: 1000 + temperature: 0.9 + top_p: 1 + frequency_penalty: 0 + presence_penalty: 0 + + total_tokens_limit: 2000 +qqbot: + appid: + token: + +# 设置是否一个人一个会话 +uniqueSessionMode: false + +# QChannelBot 的版本,请勿修改此字段,否则可能产生一些bug +version: 2.4 RealChatGPT Ver. + +# [Beta] 转储历史记录时间间隔(分钟) +dump_history_interval: 10 + +# 一个用户只能在time秒内发送count条消息 +limit: + time: 60 + count: 5 +# 公告 +notice: "此机器人由Github项目QQChannelChatGPT驱动。" + +# 是否打开私信功能 +# 设置为true则频道成员可以私聊机器人。 +# 设置为false则频道成员不能私聊机器人。 +direct_message_mode: true \ No newline at end of file