zotero-gpt
zotero-gpt copied to clipboard
除了 askpdf 正常 其他功能都显示plugin is generating content(手动问问题回答没问题)
标题看不懂,请加标点
除了 askpdf 正常,按其他标签都显示plugin is generating content(手动问问题回答没问题)
标题看不懂,请加标点
我也出现了同样的问题,昨天一切正常,今天打开软件,没有想昨天那样弹出gpt界面,按 shift + / 也没出界面,需要想点击不是文献的界面,例如点击到目录那块,按 shift + / 就能召唤出 gpt,之后的问题就是和题主一样,只能手动问问题,不能选择文献的文字点击翻译
注:我发现今天我点击了更新,更新到了最新版,应该是最新版的问题
系统:windows11
gpt-3.5
我的gpt3.5 api 其他应用正常
点击翻译一直在这个加载中

代码重构了,标签内部还没更新。稍等更新
[{ "tag": "🪐AskPDF", "color": "#009FBD", "position": 0, "text": "#🪐AskPDF[position=0][color=#009FBD]\n\nYou are a helpful assistant. Context information is below.\n\n---\njs\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 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. \n\nAnswer the question:\njs\nwindow.gptInputString \n\n\nReply in 简体中文\n" }, { "tag": "🎈Translate", "color": "#21a2f1", "position": 1, "text": "#🎈Translate[position=1][color=#21a2f1]\n\ntranslate these from English to 简体中文:\njs\nMeet.Zotero.getPDFSelection()\n" }, { "tag": "✨ToEnglish", "color": "#42BA99", "position": 2, "text": "#✨ToEnglish[position=2][color=#42BA99]\nPlease help me translate these to English:\n\njs\nZotero.ZoteroGPT.views.inputContainer.querySelector(\"input\").value\n\n\nYour answer is:" }, { "tag": "✍️Abs2Sum", "color": "#E11299", "position": 4, "text": "#✍️Abs2Sum[position=4][color=#E11299]\n下面是一篇论文的摘要:\njs\n// 确保你选择的是PDF的摘要部分\nMeet.Zotero.getPDFSelection()\n\n\n---\n\n请问它的主要工作是什么,在什么地区,时间范围是什么,使用的数据是什么,创新点在哪?\n\n请你用下列示例格式回答我:\n主要工作:反演AOD;\n地区:四川盆地;\n时间:2017~2021;\n数据:Sentinel-2卫星数据;\n创新:考虑了BRDF效应。\n\n" }, { "tag": "🌸AskClipboard", "color": "#dc4334", "position": 9, "text": "#🌸AskClipboard[position=9][color=#dc4334]\nRead this:\n\njs\n\nMeet.Zotero.getClipboardText()\n\n\n\n---\n\nplease answer this question based on above content (use 简体中文). In the end, you need repeat above content:js\nZotero.ZoteroGPT.views.inputContainer.querySelector(\"input\").value\n" }, { "tag": "🔍SearchItems", "color": "#ED5629", "position": 9, "text": "#🔍SearchItems[position=9][color=#ED5629]\n\n现在你是一个数据库系统,下面是一些JSON信息,每个JSON对应Zotero一篇文献:\n\n---\n\njs\nwindow.gptInputString = Zotero.ZoteroGPT.views.inputContainer.querySelector(\"input\").value\nZotero.ZoteroGPT.views.messages = [];\n\nMeet.Zotero.getRelatedText(\nwindow.gptInputString \n)\n\n\n\n---\n\n我现在在寻找一篇文献,它很可能就在我上面给你的文献之中。下面是对我想找的文献的描述:\njs\nwindow.gptInputString \n\n\n请你回答最有可能是哪几篇文献,请同时给出最可能的一篇,并给出原因。\n\nReply in 简体中文" }]
对了 作者你写的这些函数 可以在 github 哪里获得
https://github.com/MuiseDestiny/zotero-gpt/blob/bootstrap/src/modules/base.ts#L43
这里defaultTags 的值,在首选项编辑器,搜zoterogpt.tags 填进去就可以了
Meet.Zotero.getPDFSelection()
现在基本js内都被简化成这样了。 已经更新,通过上面连接可以先更新(在发布新版本之前)
对着那些写好的功能 长按右键 更新函数
---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年05月01日 20:25 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [MuiseDestiny/zotero-gpt] 除了 askpdf 正常 其他功能都显示plugin is generating content(手动问问题回答没问题) (Issue #106) |
遇到了同样的问题,楼主解决了吗
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>