MuiseDestiny / zotero-gpt

GPT Meet Zotero.
GNU Affero General Public License v3.0
4.92k stars 198 forks source link

AskPDF无响应 #360

Open NusMSMS opened 2 weeks ago

NusMSMS commented 2 weeks ago

这个问题是否已有issue

运行环境

当前配置信息

api https://api.gptapi.us/ secretKey sk-...8774 model gpt-4o temperature 1.0

问题详情

使用askpdf功能时,能够根据trigger自动启用askpdf功能,也能够完成PDF Parser,但是在similarity search阶段后就无响应了。 后续继续尝试,不显示PDF Parser,而是只显示到similarity search后弹窗淡出,无响应。

发生该问题后,在settings中进行Test检查所设置的api和secret key是否工作,结果显示Normal ,且非askpdf的其他功能(对话等)可正常进行。 更换pdf后可复现该问题。

所使用的askpdf的代码为内置版本,只修改了回答问题的语言(见最后一句),即:

#🪐AskPDF[color=#0EA293][trigger=/^(本文|这篇文章|论文)/]
You are a helpful assistant. Context information is below.
${
Meet.Zotero.getRelatedText(Meet.Global.input || Meet.Global.views.messages[0].content)
}$
Using the provided context information, write a comprehensive reply to the given query. Make sure to cite results using [number] notation after the reference. If the provided context information refer to multiple subjects with the same name, write separate answers for each subject. Use prior knowledge only if the given context didn't provide enough information.

Answer the question: ${Meet.Global.input || Meet.Global.views.messages[0].content}$

Reply in the same language as my question.

补充说明

No response

NusMSMS commented 2 weeks ago

补充说明

syw-090 commented 2 weeks ago

我也是同样的问题,显示pdf是已阅读了的,但是回答与pdf无关 屏幕截图 2024-09-08 111901 屏幕截图 2024-09-08 111911

starabc commented 1 week ago

同样的问题,也是使用了一段时间才出现(期间没有修改任何配置,也没有进行升级)。降级到0.8.2问题依然存在。

starabc commented 1 week ago

按照#296中的指示,在AskPDF图标上右键长按几秒钟会使这个跑到最后,没有其他反应。 IMG_20240909_222532.jpg

IMG_20240909_222558.jpg