paper-qa
paper-qa copied to clipboard
key_filter argument
When using the key_filter argument in docs.query() I do still get answers from more sources than just from the documents with the specified keys. What could be the issue here?
Are you setting key_filter=True and you're finding that some of the sources have keys that are not present in the answer.key_filter?
Can you print out answer.key_filter and [c.key for c in answer.contexts] to confirm there is disagreement? Thanks!