zotero-gpt
zotero-gpt copied to clipboard
Zotero7无法使用Askpdf功能
这个问题是否已有issue
- [X] 我确认没有已有issue,且已阅读常见问题
运行环境
- OS: Windows 11
- Zotero version: 7.0.0-beta.66+d0299a1ac (64-bit)
- Plugin version: 0.6.0
当前配置信息
api https://openai.api2d.net secretKey fk2…6YnT model gpt-3.5-turbo temperature 1.0
问题详情
Askpdf 按钮内容
#🪐AskPDF[position=0][color=#009FBD]
You are a helpful assistant. Context information is below.
---
```js
window.gptInputString = Zotero.ZoteroGPT.views.inputContainer.querySelector("input").value
Zotero.ZoteroGPT.views.messages = [];
Zotero.ZoteroGPT.utils.getRelatedText(
window.gptInputString
)
```
---
Current date: ```js
String(new Date())
```
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:
```js
window.gptInputString
```
Reply in English
报错信息
Based on the provided context information, a JavaScript snippet is shown where a function getRelatedText() from Zotero.ZoteroGPT.utils is being called with the window.gptInputString value as its argument. However, the actual functionality of the getRelatedText() function is not explicitly defined in the snippet. To provide more information, getRelatedText() is likely a function that takes a string input and retrieves related text or information based on that input. The function is a part of the ZoteroGPT tool or library, which seems to be related to Zotero, a reference management software. If you are looking to understand the specific behavior of getRelatedText() in this context, you may need to refer to the documentation or source code of the ZoteroGPT tool or library [1]. Furthermore, based on the code snippet provided, it seems that the user input is being fetched from an input element in the DOM and passed as an argument to the getRelatedText() function. The output or the related text retrieved by this function is not explicitly handled in the snippet. For a comprehensive understanding of how the related text is retrieved and what further processing or actions are taken with this text, additional code or information is required. If you need further assistance or clarification on specific aspects of the code snippet, feel free to provide more details for a more targeted explanation. References:
Documentation for the ZoteroGPT tool or library.
补充说明
稳定复现。 原因可能为插件无法抓取pdf内容。
I met the same problem.
I reinstalled the newest version and solved the problem. FYI. @mrs504aa
I reinstalled the newest version and solved the problem. FYI. @mrs504aa
newest version of zotero?