Polygon
Polygon
[{ "tag": "🪐AskPDF", "color": "#009FBD", "position": 0, "text": "#🪐AskPDF[position=0][color=#009FBD]\n\nYou are a helpful assistant. Context information is below.\n\n---\n```js\nwindow.gptInputString = Zotero.ZoteroGPT.views.inputContainer.querySelector(\"input\").value\nZotero.ZoteroGPT.views.messages = [];\n\nZotero.ZoteroGPT.utils.getRelatedText(\nwindow.gptInputString \n)\n\n```\n---\n\nCurrent date: ```js\nString(new Date())\n```\nUsing the provided context information, write...
我不知道具体搭建过程。只需要完全1:1实现openai的调用 传入参数和返回。api和key填入插件就能用。 现在的代理网站就是1:1实现openai的api。其实是转发。所以所有代理api key可以用于本插件。
https://github.com/MuiseDestiny/zotero-gpt/blob/bootstrap/src/modules/base.ts#L43 这里defaultTags 的值,在首选项编辑器,搜zoterogpt.tags 填进去就可以了
Meet.Zotero.getPDFSelection() 现在基本js内都被简化成这样了。 已经更新,通过上面连接可以先更新(在发布新版本之前)
请升级插件,zo内检查更新。然后重启即可修复。或手动下载:https://gitee.com/MuiseDestiny/plugins/blob/master/zotero-gpt.xpi
> 更新到了0.9.0,或卸载后从上述连接下载安装,AskPDF均依然报同样错误 > >  **右**键长按askpdf 5s,然后重试
> > **右**键长按askpdf 5s,然后重试 > > 依然如此,看下图似乎是parser卡住了  zoytero软件不是最新吧
 Very soon support, currently implemented.
I am very happy for that an english speaker use this plugin. For the first question, it is Shift but not Ctrl + / due to that Ctrl has a...