Future-House / paper-qa

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

Making parsing resistant to failed inference of citations #551

Closed whitead closed 1 month ago

whitead commented 1 month ago

Fixes #546.

Tried to improve JSON extraction and reduced exception to warning (@mskarlin - not sure why this was an exception?).

Example colab https://colab.research.google.com/drive/1dXEuhvmnC-0Pzwedy0HIEt6TRli7k3kB#scrollTo=vbOB5XjbO2dd