feat: test button

This commit is contained in:
ikechan8370 2024-02-28 21:57:13 +08:00
parent 58e6201e6e
commit a4fc2bb492
6 changed files with 460 additions and 106 deletions

View file

@ -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) {