This project builds a GraphRAG based on a collection of papers in a Zotero.
- Create Zotero account at https://www.zotero.org/user/register
- Acquire ZOTERO_API_KEY
- Create a collection in Zotero, and add PDF articles to collection.
- Sync local Zotero and library on Zotero account.
- Crteate an OpenAI account at https://platform.openai.com/
- Create an OpenAI API Key.
- Create an OpenRouter account at https://openrouter.ai/
- Acquire an ThePipe API Key.
Use the info acquired above, add key/value pairs in Secrets: ZOTERO_USER_ID, ZOTERO_API_KEY, THEPIPE_API_KEY, LLM_SERVER_API_KEY (OpenRouter API Key), LLM_SERVER_BASE_URL (https://openrouter.ai/api/v1
).
Then run the cells in the notebook. \n To ask more questions, duplicate cell 15, compose your question and use it to replace the value for "query", then run the cell.