Files
AstrBot/configs/config.yaml
Soulter 9f741ef749 feat: 支持在配置文件设置是否关闭私聊功能
fix: 修复人格功能的一些bug
2023-02-28 08:34:04 +08:00

47 lines
1007 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
openai:
# 注意在1.7版本已支持多key自动切换方法
# key:
# - xxxxx
# - xxxxxx
# 在下方非注释的地方使用以上格式
key:
-
# OpenAI GPT模型参数
chatGPTConfigs:
engine: text-davinci-003
max_tokens: 600
temperature: 0.8
top_p: 1
frequency_penalty: 0.4
presence_penalty: 0.3
total_tokens_limit: 500
# QQ开放平台机器人信息
# https://q.qq.com
qqbot:
appid:
token:
# 设置是否一个人一个会话
uniqueSessionMode: false
# QQChannelChatGPTBot版本号不用改
version: 2.33
# 转储历史记录时间间隔(分钟)
dump_history_interval: 10
# 用户发言频率限制。
# 一个用户只能在time秒内发送count条消息
limit:
time: 60
count: 5
# 公告
notice: "此机器人由Github项目QQChannelChatGPT驱动。"
# 是否打开私信功能
# 设置为true则频道成员可以私聊机器人。
# 设置为false则频道成员不能私聊机器人。
direct_message_mode: true