gitmyhub

zotero-gpt

TypeScript ★ 7.2k updated 1mo ago

GPT Meet Zotero.

Zotero-GPT is a plugin that connects your Zotero research library to OpenAI's AI models so you can summarize papers, ask questions about PDFs, and search your library with AI without leaving Zotero.

TypeScriptJavaScriptsetup: moderatecomplexity 2/5

Zotero-GPT is a plugin for Zotero, the free reference management application used by researchers and academics to collect, organize, and cite papers. The plugin connects Zotero to OpenAI's language models, letting you ask questions about papers in your library and get AI-generated answers without leaving the application.

The core interaction model is built around what the project calls command tags. These are saved prompts that you assign a name and a trigger word. Once set up, you can click a tag or type its trigger word to instantly run that prompt against whatever you currently have selected, whether that is the full text of an open PDF, a selected passage, or the abstract of a paper in your library. Built-in tags cover common research tasks: summarizing a paper, answering questions about a PDF, and searching your library based on selected text. You can also write your own tags using JavaScript code that calls into Zotero's own API, which allows for more complex interactions.

The plugin works with both GPT-3.5-turbo and GPT-4. You provide your own OpenAI API key in the plugin settings, where you can also adjust parameters like the model name, API endpoint, and response temperature. The floating window that displays responses supports real-time markdown rendering including LaTeX math notation, can be moved anywhere on screen, and allows zooming the text in or out.

Installation follows the standard Zotero plugin process: download the .xpi file from the releases page and load it through Zotero's add-ons menu. The plugin is compatible with both Zotero 6 and Zotero 7. A community discussion thread on the repository is used to share command tag recipes contributed by other users.

Where it fits