Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文件总结有bug,接收不到文件 #74

Open
finexss opened this issue Jul 24, 2024 · 1 comment
Open

文件总结有bug,接收不到文件 #74

finexss opened this issue Jul 24, 2024 · 1 comment

Comments

@finexss
Copy link

finexss commented Jul 24, 2024

图片总结使用正常,文件总结配置如下:
"file_sum": {
"enabled": true,
"service": "openai",
"max_file_size": "50000",
"group": true,
"qa_prefix":"‘问’",
"prompt": "你是一个专家,我会给你发一些文件,请你用简单明了的语言做总结。格式如下:📌总结\n一句话讲清楚这个文件的核心观点,控制在30字左右。\n\n💡要点\n用数字序号列出来3-5个核心内容,尽量使用emoji让你的表达更生动"
},

bug表现为发送文件(大小10多K,文件类型docx和pdf)后无任何反应,日志里无任何消息。
然后再发一句话,日志里会出现接收文件的消息,但无回复,日志如下:
[INFO][2024-07-24 23:03:25][wechatcomapp_channel.py:147] - [wechatcom] receive params: <Storage {'nonce': '1722484974', 'timestamp': '1721833405', 'msg_signature': '8f7be32552d5cd7afc142f00a59b10939cd89883'}>
112.53.2.93:25306 - - [24/Jul/2024 23:03:25] "HTTP/1.1 POST /wxcomapp" - 200 OK
[INFO][2024-07-24 23:03:25][chat_gpt_bot.py:49] - [CHATGPT] query=这是什么文件
[INFO][2024-07-24 23:03:35][wechatcomapp_channel.py:63] - [wechatcom] Do send text to g: 对不起,我没有看到您提供任何文件。作为一个基于文本的AI助手,我无法直接查看或访问外部文件,除非您在对话中明确地描述或分享了文件的内容。

@fatwang2
Copy link
Owner

fatwang2 commented Aug 6, 2024

你这个日志就没有触发插件,是个人微信还是什么企业微信还是公众号?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants