Future-House / paper-qa

High accuracy RAG for answering questions from scientific documents with citations
Apache License 2.0
6.47k stars 618 forks source link

Add ability to add PDF to Docs object from Zotero Clipboard Data #71

Open malekinho8 opened 1 year ago

malekinho8 commented 1 year ago

In Zotero, you can select a publication entry (or multiple) and press CTRL+SHIFT+C to copy the BibTex data for each highlighted publication to your clipboard. This is handy because these BibTex files contain both the citation data, was well as the absolute paths to the PDF file on your computer.

It would be nice to have a method, perhaps for the Docs class, to load PDFs and add them to the Docs from the Zotero Bibtex data in the user's clipboard (rather than finding the paths of files manually)

MilesCranmer commented 1 year ago

One option is to put all of those entries into a new collection in your Zotero library. You can then pass the collection name as a parameter to .iterate() to only use those entries.

jamesbraza commented 2 months ago

Hi @malekinho8 do you think this issue is resolved? And thanks @MilesCranmer for your contributions here