mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
feat: test button
This commit is contained in:
parent
58e6201e6e
commit
a4fc2bb492
6 changed files with 460 additions and 106 deletions
|
|
@ -479,7 +479,7 @@ export async function convertFaces (msg, handleAt = false, e) {
|
|||
groupCardQQMap[groupMembers.get(key).card || groupMembers.get(key).nickname] = groupMembers.get(key).user_id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
let tmpMsg = ''
|
||||
let tmpFace = ''
|
||||
let tmpAt = ''
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ export async function makeWordcloud (e, groupId, duration = 0, userId) {
|
|||
let list = JSON.stringify(topK)
|
||||
logger.info(list)
|
||||
let img = await render(e, 'chatgpt-plugin', 'wordcloud/index', { list }, { retType: 'base64' })
|
||||
await e.reply(img, true)
|
||||
return img
|
||||
}
|
||||
|
||||
function getTokenizer (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue