Features about GPT:
- ๐ Integrate with Zotero: You can use the plugin to search and ask items in the library based on the selected text or the PDF file.
- ๐ง Use GPT to generate reply text: support
gpt-3.5-turbo
andgpt-4
- ๐ท๏ธ Command tags: Click once to accelerate your research.
- ๐ฌ Ask questions about current PDF file (full-text or selected text).
- ๐ฌ Ask questions about selected paper (Abstract).
- ๐ Summarize the selected paper into several highly condensed sentences.
- ๐ Search items in the library based on the selected text.
- ... ...
- โ๏ธ Advanced settings for GPT: You can set the api key, model name, api url, temperature.
- ๐ Integrate with Better Notes: You can directly open this plugin when using Better Notes.
Features about UI:
- ๐จ Real-time markdown rendering for reply text: Latex and mathjax are supported.
- ๐ Zoom in and out of the reply text or the size of the plugin window.
- ๐ฑ๏ธ Move the plugin window to any position on the screen.
- ๐ Copy the reply text to the clipboard.
-
โ ๏ธ Detailed error message will be displayed when the request fails. - ๐ง Compatible with Zotero 6 and Zotero 7.
- ๐ Discover more exciting features that are not listed here.
- Get
.xpi
file- download latest release
.xpi
file - or build this project [1] to generate a
.xpi
file
- download latest release
- Install
.xpi
file in Zotero [2] - Open Zotero GPT [3]
- Set your
OpenAI
secret key [4]
Here is an example on how to build this project. For more information on how to build, please visit this project: https://github.com/windingwind/zotero-plugin-template
git clone https://github.com/MuiseDestiny/zotero-gpt.git
cd zotero-gpt
npm install
npm run build
The generated .xpi
file in the build directory is the extension that you can install in Zotero.
Open Zotero. In the top menu bar, click on Tools > Add-ons
.
Click on the gear icon at the top right of the window. Click on Install Add-on From File
and open the generated .xpi
file in the build directory from the previous step.
Action | Shortcut |
---|---|
Open | |
Exit | ESC |
Multi-line editing | Shift Enter |
๐ป Follow the steps below, and you will gain a new understanding of command tags.
Trigger is an attribute of a command tag, as are color and position. Long press any label to view/modify its trigger word. It supports both plain text and JS regular expressions.
You can find some build-in APIs here.
A simple example:
Summarize the following paragraph for me:
${Meet.Zotero.getPDFSelection()}
Here, the Summarize the following paragraph for me:
represents plain text, while ${your code}
denotes a code snippet. Undoubtedly, if you are familiar with Zotero APIs, you can develop your own code. The code snippet will be executed, and the text returned by the code snippet will replace the code snippet. Finally, the replaced text will be input to GPT. So, theoretically, you can accomplish all interactions between Zotero and GPT using command tags.
Press the up (โ) and down (โ) keys on the keyboard to navigate.