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

Removed `gen_answer`'s dead argument `question` #689

Closed jamesbraza closed 6 days ago

jamesbraza commented 1 week ago

The gen_answer tool has an unused question arg. This PR removes it.


I observed for the LitQA2 question:

The gene EEF2 has introns 1 and 2, do they splice in a specific order?

The agent called gen_answer with the question arg:

Does the gene EEF2 splice intron 1 and 2 in a specific order?

Whereas this is mostly the same question, it has a few problems: