Open qiushouzhao opened 3 months ago
插件卸载重装试试,我升级版本也出现了这个问题,重装插件就好了
请问以下使用askpdf中出现这个问题是因为没有pdf没有被选中么? 我先点击了文本库的论文再使用askpdf还是会出现这个,请问一下为什么呢?
请问以下使用askpdf中出现这个问题是因为没有pdf没有被选中么? 我先点击了文本库的论文再使用askpdf还是会出现这个,请问一下为什么呢?
我也出现了这个问题,插件版本1.2.0
插件卸载重装试试,我升级版本也出现了这个问题,重装插件就好了
好的,我试试,谢谢
我重装了也没有好
Zotero.ZoteroGPT.utils is undefined
Zotero.ZoteroGPT.utils is undefined
+1
Zotero.ZoteroGPT.utils is undefined
Yes exactly same here
Zotero.ZoteroGPT.utils is undefined
I seem to understand now, this might be an issue with the plugin not cleaning up the old code during upgrades and uninstallations. Just rewrite the command tags according to the latest code. It seems that Zotero.ZoteroGPT.utils is not supported now.
this might be an issue with the plugin not cleaning up the old code during upgrades and uninstallations.
That's very interesting. I bet this is causing more issues than just this.
Any way to clean up the old installation?
this might be an issue with the plugin not cleaning up the old code during upgrades and uninstallations.
That's very interesting. I bet this is causing more issues than just this.
Any way to clean up the old installation?
I dont know how to clean the old tags. And built-in tags can't be deleted. I just updated the code of tags.
Has this issue been reported before?
Operating Environment
Current Configuration Information
api
https://api.chatanywhere.tech/secretKey
sk-...9RFamodel
gpt-3.5-turbotemperature
1.0Issue Details
如果点击确定后继续运行,运行结果如下:
之前命令标签是成功使用过的。GPT和KIMI我都用过了,没成功,说把const改成var,也不行。现在只能使用askPDF,其他命令标签都报错这个。 其中的命令标签之一:
摘要批量转综述[color=#7175FF][trigger=]
下面是几篇论文的标题、发表日期、作者、和摘要:
const ztoolkit = Zotero.ZoteroGPT.data.ztoolkit let getSelection = () => { return ZoteroPane.getSelectedItems().map( (doc, index) =>
[${ index + 1}] TITLE:${doc.getField("title")} PUBLISH DATE:${doc.getField("date")} AUTHOR:${doc.getCreators().map((v) => v.firstName + " " + v.lastName).join("; ")} ABSTRACT:${doc.getField("abstractNote")}
).join("\n\n") } console.log(getSelection()) getSelection() 现在我想引用它写一篇文献综述。请你把这些文献分类,每一类对应综述的一个段落。请你帮我总结每一篇论文的工作,每一篇论文的总结要求50字左右。然后请你把论文的总结,按照观点,组织成一个或多个段落。你只需要输出组成好的段落,不要输出每一篇的总结。作者没有告诉你,你可以用XX代替。Reply in Zotero.locale
Additional Information
如果把代码复制进去,用askPDF运行,报错这个。