Skip to content

Commit

Permalink
feat: 添加聊天总结功能
Browse files Browse the repository at this point in the history
  • Loading branch information
leochen-g committed Jun 3, 2024
1 parent 789414f commit b674e3f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## 更新日志

## V4.6.33(2024-05-23)
1、添加聊天内容总结

## V4.6.32(2024-05-23)
1、把 h5链接消息作为普通消息处理,接收到消息的前缀为“[链接]:http://xxxxx”

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechat-assistant",
"version": "4.6.32",
"version": "4.6.33",
"description": "智能微秘书,一个全能的微信机器人管理平台,最简单的方式接入 ChatGPT,FastGPT,Dify,Coze知识库,支持绘图,联网查询,语音识别,各种定时任务,支持企微、个微、公众号、5G 消息、WhatsApp",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -45,7 +45,7 @@
"wechaty-puppet-padlocal": "^1.20.1",
"wechaty-puppet-service": "^1.18.2",
"wechaty-puppet-wechat4u": "^1.14.12",
"wechaty-web-panel": "^1.6.54"
"wechaty-web-panel": "^1.6.56"
},
"devDependencies": {
"pm2": "^4.2.3"
Expand Down
5 changes: 3 additions & 2 deletions src/engine.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {WechatyBuilder} from 'wechaty'
import {WechatyWebPanelPlugin} from 'wechaty-web-panel'
import {WechatyWebPanelPlugin, WechatyMessageRecordPlugin} from 'wechaty-web-panel'
import {PuppetEngine} from 'wechaty-puppet-engine'


Expand All @@ -19,5 +19,6 @@ bot = WechatyBuilder.build({
bot.use(WechatyWebPanelPlugin({
apiKey: '填入微秘书平台apikey', apiSecret: '填入微秘书平台apisecret',
}))
bot.use(WechatyMessageRecordPlugin())
bot.start()
.catch((e) => console.error(e));
.catch((e) => console.error(e));
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {WechatyBuilder} from 'wechaty'
import {WechatyWebPanelPlugin} from 'wechaty-web-panel'
import {WechatyWebPanelPlugin, WechatyMessageRecordPlugin} from 'wechaty-web-panel'

const name = 'wechat-assistant-pro';
let bot = '';
Expand Down Expand Up @@ -48,5 +48,6 @@ if (padLocalToken) {
bot.use(WechatyWebPanelPlugin({
apiKey: '***', apiSecret: '****',
}))
bot.use(WechatyMessageRecordPlugin())
bot.start()
.catch((e) => console.error(e));
3 changes: 2 additions & 1 deletion src/office.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {WechatyBuilder} from 'wechaty'
import {WechatyWebPanelPlugin} from 'wechaty-web-panel'
import {WechatyWebPanelPlugin, WechatyMessageRecordPlugin} from 'wechaty-web-panel'
import {PuppetOA} from 'wechaty-puppet-official-account'
const name = 'office-assistant-pro';
let bot = '';
Expand Down Expand Up @@ -27,5 +27,6 @@ bot
apiSecret: '****'
}
))
bot.use(WechatyMessageRecordPlugin())
bot.start()
.catch((e) => console.error(e));

0 comments on commit b674e3f

Please sign in to comment.