Future-House / paper-qa

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

Fixing `PaperQAEnvironment.reset` respecting `mmr_lambda` and `text_hashes` #703

Closed jamesbraza closed 3 days ago

jamesbraza commented 3 days ago

This PR started as a regression test of PaperQAEnvironment.reset, then we found out some bugs were present.

So it writes the unit test, and to make it pass: