Skip to content
Discussion options

You must be logged in to vote

Hello @hermans0101g currently, Haystack does not support filtering the output of retriever nodes based on the relevance scores of the passages. However, the output of reader nodes can be filtered based on a threshold:

:param confidence_threshold: Filters out predictions below confidence_threshold. Value should be between 0 and 1. Disabled by default.

I'd suggest that you have a look at how the implementation works for the reader. Maybe you can use it as a blueprint for the retriever?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by julian-risch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants