feat: Weights and score normalization for DocumentJoiner with reciprocal rank fusion#6735
Conversation
Pull Request Test Coverage Report for Build 7641580805
💛 - Coveralls |
|
I just did some simple tests by hand, and it seems to work! Test code and output below. Will now mark it ready for review. (Note: I didn't see a reasonable spot to include this as a test in the actual repo itself--all the Test codeOutput |
|
Oh and another comment: we've previously talked about making the score normalization optional, rather than obligatory. This PR keeps the score normalization as obligatory, like in the v1.x |
|
Hey @robpasternak @anakin87 seems ok. The. only slight concern I have is document_lists being zero len blowing up pipeline run with So in conclusion, a slightly longer release note blurb explaining this to users would be appreciated. I'll share our guidelines internally. |
vblagoje
left a comment
There was a problem hiding this comment.
Let's write a bit longer release note please
|
Also @robpasternak would you also please just add the test you wrote to |
…l rank fusion (fix trailing whitespace)
|
Oh thanks for jumping on the changes @vblagoje! Apologies for not doing them sooner myself, was gonna do them today but failed to communicate that. Anyway, thanks again! |
|
No worries @robpasternak it took me literally a few minutes to update, all credit is yours 🚀 |
Related Issues
DocumentJoinernode with reciprocal rank fusion.Proposed Changes:
DocumentJoinernode with reciprocal rank fusion.DocumentJoinernode with reciprocal rank fusion.How did you test it?
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.