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

AskPDF无响应 #360

Open
1 task done
NusMSMS opened this issue Sep 6, 2024 · 5 comments
Open
1 task done

AskPDF无响应 #360

NusMSMS opened this issue Sep 6, 2024 · 5 comments

Comments

@NusMSMS
Copy link

NusMSMS commented Sep 6, 2024

这个问题是否已有issue

  • 我确认没有已有issue,且已阅读常见问题

运行环境

  • OS: Windows11 23H2
  • Zotero version: 7.0.3
  • Plugin version: 1.2.0

当前配置信息

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
Copy link
Author

NusMSMS commented Sep 6, 2024

补充说明

  • 使用askpdf功能时是输入了问题的,所以应该不是使用方式不当。
  • 并不是一开始就出现这个问题,而是使用一段时间后才出现。
  • 重启后无法解决。反而出现新问题:不依赖于pdf内容回答。image

@syw-090
Copy link

syw-090 commented Sep 8, 2024

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

@starabc
Copy link

starabc commented Sep 9, 2024

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

  • 使用Translate会报错:
Meet.Global.input is undefined
  • 使用Selection正常。

@starabc
Copy link

starabc commented Sep 9, 2024

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

IMG_20240909_222558.jpg

@starabc
Copy link

starabc commented Nov 27, 2024

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

IMG_20240909_222558.jpg

1.5.2版本中该问题已不再出现。

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

3 participants