Merge branch 'zhayujie:master' into sensitive_word

This commit is contained in:
DBin_K
2023-03-14 02:57:46 +08:00
committed by GitHub
2 changed files with 15 additions and 4 deletions

View File

@@ -146,9 +146,18 @@ pip3 install --upgrade openai
### 2.个人微信
与项目 [chatgpt-on-wechat](https://github.com/zhayujie/chatgpt-on-wechat) 的使用方式相同,目前接入个人微信可能导致账号被限制,暂时不建议使用
与项目 [chatgpt-on-wechat](https://github.com/zhayujie/chatgpt-on-wechat) 的使用方式相
配置项说明:
**安装依赖:**
```bash
pip3 install itchat-uos==1.5.0.dev0
pip3 install --upgrade openai
```
注:`itchat-uos`使用指定版本1.5.0.dev0`openai`使用最新版本需高于0.27.0。
**配置项说明:**
```bash
"channel": {
@@ -292,7 +301,9 @@ python3 app.py # 此时会监听8080端口
cd channel/qq
./go-cqhttp
```
注意:目前未设置任何 关键词匹配 及 群聊白名单,对所有私聊均会自动回复,在群聊中只要被@也会自动回复
注意:
+ 目前未设置任何 关键词匹配 及 群聊白名单,对所有私聊均会自动回复,在群聊中只要被@也会自动回复
+ 如果出现 账号被冻结 等异常提示,可将 go-cqhttp 同目录下的 device.json 文件中`protocol`的值由5改为2参考该[Issue](https://github.com/Mrs4s/go-cqhttp/issues/1942)。
### 6.Telegram

View File

@@ -19,7 +19,7 @@ account: # 账号相关
heartbeat:
# 心跳频率, 单位秒
# -1 为关闭心跳
interval: 5
interval: -1
message:
# 上报数据类型