[Question]Issue with QueryFusionRetriever #8243
Unanswered
JacksonSun
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
Recently i notice that a new QueryFusionRetriever class is being added to help realize the hybrid retriever. However, the _reciprocal_rerank_fusion function in QueryFusionRetriever seems not being implemented correctly.
In _reciprocal_rerank_fusion, the rank of the node given by the value of the score from nodes_with_scores in descending order. However, in some vector index store (like faiss), the return score is L2 distance according to the article here, where a lower score is better.
I have checked the results and notice after using the QueryFusionRetriever, the rerank results are in reverse order compared with original one.
Beta Was this translation helpful? Give feedback.
All reactions