2024-05-14 12:08:30 +08:00
|
|
|
|
system:
|
2024-06-24 08:40:24 +08:00
|
|
|
|
# 每日新闻接口 Token
|
|
|
|
|
# 获取地址: https://admin.alapi.cn/api_manager/token_manager
|
|
|
|
|
alApiToken: xxx
|
2024-07-16 11:58:52 +08:00
|
|
|
|
# urlc.cn的Token,用来生成短链接
|
|
|
|
|
urlcApiToken: xxx
|
2024-08-19 11:44:59 +08:00
|
|
|
|
# 系统访问域名,必须是包括 http[s]:// 的完整域名
|
2024-07-16 11:36:10 +08:00
|
|
|
|
domain: https://wechat.abc.com
|
2024-05-14 12:08:30 +08:00
|
|
|
|
# 添加新好友或群之后通知给指定的人
|
|
|
|
|
newFriendNotify:
|
|
|
|
|
enable: true
|
|
|
|
|
toUser:
|
|
|
|
|
- "wxid_xxx"
|
|
|
|
|
# 默认AI等配置
|
|
|
|
|
defaultRule:
|
|
|
|
|
# 默认是否开启AI
|
|
|
|
|
ai: true
|
|
|
|
|
# 默认是否开启水群排行榜
|
|
|
|
|
chatRank: true
|
|
|
|
|
# 默认是否开启聊天记录总结
|
|
|
|
|
summary: true
|
|
|
|
|
# 默认是否开启新成员加群欢迎
|
|
|
|
|
welcome: true
|
2024-05-15 11:15:15 +08:00
|
|
|
|
# 每日早报
|
|
|
|
|
news: true
|
2024-07-15 14:36:58 +08:00
|
|
|
|
# 热榜
|
|
|
|
|
hotTop: true
|
2024-08-17 13:10:31 +08:00
|
|
|
|
# 每天免费 AI 次数限制
|
|
|
|
|
aiFreeLimit: 50
|
2024-05-14 12:08:30 +08:00
|
|
|
|
|
2023-10-26 10:07:08 +08:00
|
|
|
|
# 微信HOOK配置
|
|
|
|
|
wechat:
|
|
|
|
|
# 微信HOOK接口地址
|
2024-07-15 14:14:24 +08:00
|
|
|
|
host: 10.0.0.79:19088
|
2024-01-09 10:48:21 +08:00
|
|
|
|
# 微信容器映射出来的vnc页面地址,没有就不填
|
2024-04-12 11:37:21 +08:00
|
|
|
|
# vncUrl: http://192.168.1.175:19087/vnc_lite.html
|
2023-10-26 10:07:08 +08:00
|
|
|
|
# 是否在启动的时候自动设置hook服务的回调
|
2023-11-03 11:48:34 +08:00
|
|
|
|
autoSetCallback: false
|
2023-12-10 08:19:21 +08:00
|
|
|
|
# 回调IP,如果是Docker运行,本参数必填(填auto表示自动,不适用于 docker 环境),如果Docker修改了映射,格式为 ip:port
|
2023-10-26 10:07:08 +08:00
|
|
|
|
callback: 10.0.0.51
|
2023-12-06 10:16:52 +08:00
|
|
|
|
# 转发到其他地址
|
|
|
|
|
forward:
|
2023-12-07 23:27:07 +08:00
|
|
|
|
# - 10.0.0.247:4299
|
2023-10-26 10:07:08 +08:00
|
|
|
|
|
|
|
|
|
# 数据库
|
|
|
|
|
mysql:
|
2024-02-19 14:17:26 +08:00
|
|
|
|
drive: mysql # 使用的数据库驱动,支持 mysql、postgres
|
2023-10-26 10:07:08 +08:00
|
|
|
|
host: 10.0.0.31
|
|
|
|
|
port: 3307
|
|
|
|
|
user: wechat
|
|
|
|
|
password: wechat123
|
|
|
|
|
db: wechat
|
2024-02-19 14:17:26 +08:00
|
|
|
|
schema: public # postgres 专用
|
2023-10-26 10:07:08 +08:00
|
|
|
|
|
2024-07-15 14:14:24 +08:00
|
|
|
|
# 定时任务
|
2023-10-11 09:21:07 +08:00
|
|
|
|
task:
|
2024-07-16 11:36:10 +08:00
|
|
|
|
enable: false
|
2024-05-15 11:15:15 +08:00
|
|
|
|
news:
|
2024-07-15 14:14:24 +08:00
|
|
|
|
enable: false
|
2024-05-15 11:15:15 +08:00
|
|
|
|
cron: '14 11 * * *' # 每天0:30
|
2024-07-15 14:14:24 +08:00
|
|
|
|
hotTop:
|
|
|
|
|
enable: true
|
|
|
|
|
cron: '0 */1 * * *' # 每小时一次
|
2024-08-19 16:27:29 +08:00
|
|
|
|
syncFriends: # 逻辑已修改,每天大半夜同步一次即可(主要是用以修正数据),平时会根据收到的消息针对性同步
|
2024-04-12 11:37:21 +08:00
|
|
|
|
enable: false
|
2024-08-19 16:27:29 +08:00
|
|
|
|
cron: '0 4 * * *' # 每天4:00
|
2024-04-12 11:37:21 +08:00
|
|
|
|
groupSummary:
|
2024-05-15 11:15:15 +08:00
|
|
|
|
enable: false
|
2024-04-12 11:37:21 +08:00
|
|
|
|
cron: '30 0 * * *' # 每天0:30
|
2023-10-11 09:21:07 +08:00
|
|
|
|
waterGroup:
|
2024-04-12 11:37:21 +08:00
|
|
|
|
enable: false
|
|
|
|
|
cron:
|
|
|
|
|
yesterday: '30 9 * * *' # 每天9:30
|
|
|
|
|
week: '30 9 * * 1' # 每周一9:30
|
|
|
|
|
month: '30 9 1 * *' # 每月1号9:30
|
|
|
|
|
year: '0 9 1 1 *' # 每年1月1号9:30
|
2023-11-13 13:32:42 +08:00
|
|
|
|
|
2024-02-19 14:17:26 +08:00
|
|
|
|
# MQ配置
|
|
|
|
|
mq:
|
2024-03-22 23:06:54 +08:00
|
|
|
|
# 是否启用
|
|
|
|
|
enable: false
|
2024-02-19 14:17:26 +08:00
|
|
|
|
# RabbitMQ配置
|
|
|
|
|
rabbitmq:
|
|
|
|
|
host: 10.0.0.247
|
|
|
|
|
port: 5672
|
|
|
|
|
user: wechat
|
|
|
|
|
password: wechat123
|
|
|
|
|
vhost: wechat
|
|
|
|
|
|
2023-11-13 13:32:42 +08:00
|
|
|
|
# AI回复
|
|
|
|
|
ai:
|
|
|
|
|
# 是否启用
|
2023-12-11 10:49:37 +08:00
|
|
|
|
enable: false
|
2023-11-17 09:57:35 +08:00
|
|
|
|
# 模型,不填默认gpt-3.5-turbo-0613
|
|
|
|
|
model: gpt-3.5-turbo-0613
|
2024-04-12 11:37:21 +08:00
|
|
|
|
# 群聊总结模型
|
|
|
|
|
summaryModel: gpt-4-0613
|
2023-11-13 13:32:42 +08:00
|
|
|
|
# OpenAI Api key
|
2023-12-11 10:49:37 +08:00
|
|
|
|
apiKey: sk-xxxx
|
2023-11-13 13:32:42 +08:00
|
|
|
|
# 接口代理域名,不填默认ChatGPT官方地址
|
2023-12-11 10:49:37 +08:00
|
|
|
|
baseUrl: https://sxxx
|
2023-11-17 09:57:35 +08:00
|
|
|
|
# 人设
|
2023-11-24 09:44:13 +08:00
|
|
|
|
personality: 你的名字叫张三,你是一个百科机器人,你的爱好是看电影,你的性格是开朗的,你的专长是讲故事,你的梦想是当一名童话故事作家。你对政治没有一点儿兴趣,也不会讨论任何与政治相关的话题,你甚至可以拒绝回答这一类话题。
|
2024-01-31 12:02:33 +08:00
|
|
|
|
models:
|
|
|
|
|
- name: ChatGPT-4
|
2024-04-23 10:42:08 +08:00
|
|
|
|
model: gpt-4
|
2024-07-16 15:39:45 +08:00
|
|
|
|
canManager: false
|
2024-04-23 10:42:08 +08:00
|
|
|
|
- name: 讯飞星火v3.1
|
|
|
|
|
model: SparkDesk-v3.1
|
|
|
|
|
- name: 讯飞星火v3.5
|
|
|
|
|
model: SparkDesk-v3.5
|
2024-01-31 12:02:33 +08:00
|
|
|
|
- name: 月之暗面-8k
|
|
|
|
|
model: moonshot-v1-8k
|
|
|
|
|
- name: 月之暗面-32k
|
|
|
|
|
model: moonshot-v1-32k
|
|
|
|
|
- name: 月之暗面-128k
|
|
|
|
|
model: moonshot-v1-128k
|
2024-04-23 10:42:08 +08:00
|
|
|
|
- name: 跃问
|
|
|
|
|
model: StepChat
|
2024-06-17 08:58:01 +08:00
|
|
|
|
- name: 豆包Lite-4k
|
|
|
|
|
model: Doubao-lite-4k
|
2024-07-16 15:39:45 +08:00
|
|
|
|
canManager: true
|
2024-06-17 08:58:01 +08:00
|
|
|
|
- name: 豆包Pro-4k
|
|
|
|
|
model: Doubao-pro-4k
|
2024-07-16 15:39:45 +08:00
|
|
|
|
canManager: true
|
2023-12-06 10:16:52 +08:00
|
|
|
|
|
2023-12-07 15:58:55 +08:00
|
|
|
|
# 资源配置
|
2023-12-07 23:27:07 +08:00
|
|
|
|
# map[k]v结构,k 会变成全小写,所以这儿不能用大写字母
|
2023-12-06 10:16:52 +08:00
|
|
|
|
resource:
|
2023-12-07 15:58:55 +08:00
|
|
|
|
# 欢迎新成员表情包
|
2023-12-07 23:27:07 +08:00
|
|
|
|
welcome-new:
|
2023-12-07 15:58:55 +08:00
|
|
|
|
type: emotion
|
|
|
|
|
path: 58e4150be2bba8f7b71974b10391f9e9
|
2024-05-14 11:50:27 +08:00
|
|
|
|
# 给新好友或者群的自我介绍,不配置就不发送
|
|
|
|
|
introduce:
|
|
|
|
|
type: text
|
|
|
|
|
path: "大家好,我是一个AI机器人,可以直接@我询问你想问的问题。"
|
2023-12-13 15:30:37 +08:00
|
|
|
|
# 水群排行榜词云,只能是图片,末尾的`\%s`也是必须的
|
|
|
|
|
wordcloud:
|
|
|
|
|
type: image
|
|
|
|
|
path: D:\Share\wordcloud\%s
|