Zotero QA — Question & Answer using Your Zotero Library
Published on March 12, 2023 — 2 min read
Recently I was intrigued by using ChatGPT and other Large Language Models (LLMs) to perform automated Q&A and summerization. The paper-qa
package developed by Prof. Andrew White makes it very easy to access knowledge from scholarly articles in such a conversational manner. I am particularly interested in apply this technology to my Zotero library. Combining paper-qa
with Zotero APIs (pyZotero), I was able to create a prototype as described previously: https://apex974.com/articles/literature-reviews-with-paper-qa-and-zotero.
Since then, I've had a great response from people interested in using this capability. Last weekend, I put together a Hugging Face Space app, so that anyone can use it to ask questions and receive answers based on their Zotero libraries.

Please be aware that you must provide your own OpenAI API key. Additionally, you will need both a Zotero API key and your user ID (or shared group ID).
- To create Zotero API key, visit https://www.zotero.org/settings/keys/new
- To access your own library, select "User".
- To access a shared group, select "Group".
- Personal User ID can be found at https://www.zotero.org/settings/keys.
- Group ID is part of the group URL (e.g. 4952526).
Below is a video walk-through:
Please let me know on Twitter if you have any questions or comments!
- Language ModelChatGPTLiterature ReviewZotero