PaperGPT is a Streamlit application that uses OpenAI GPT-3 to perform scientific paper question-answering. Users can search for PDF files in their Zotero accounts, select the desired files, and ask questions to get answers.
Install Dependencies
PaperGPT uses Streamlit and PyZotero. Dependencies can be installed using the following command:
pip install streamlit pyzotero openai PyPDF2
Get API Keys
Before using PaperGPT, you need to obtain the following API keys:
Run PaperGPT
Enter the following command in your terminal to start PaperGPT:
streamlit run app.py
Configure PaperGPT
After running PaperGPT, the application will open in your browser. In the sidebar, fill in the following information:
/Users/XXX/Zotero
.Search for PDF files and ask questions
The following example demonstrates how to search for PDF files and ask questions using PaperGPT:
Create a collection in Zotero containing several PDF files.
Run PaperGPT and fill in the necessary API keys.
On the main page of PaperGPT, select the collection containing the PDF files.
Enter your question in the input box and click the "Search" button.
Select the PDF files you want to search for in the checkboxes below.
Click the "Search" button.
Get a detailed summary with the answer to your question.