Open shalinshah1993 opened 1 week ago
Hello. Haystack 1.x is in maintenance mode and the idea is to fix bugs, but not to introduce new features. Have you considered migrating to 2.x? https://docs.haystack.deepset.ai/docs/migration
is the above possible in 2.x
?
Is your feature request related to a problem? Please describe. There has been prior discussions about exposing model scores for re-ranker and i believe it was added. However, that only works with
pipeline.run()
API since it returns documents withscore
metadata. In practice, often, we run large scale evaluation and in that cases, it has a lot of wrapping aroundpipeline.run()
(see here)Describe the solution you'd like A very nice solution would be -> in the
EvalutionResults
df or csv file, there is additional column stored calledscore
which comes fromdocument.score
Describe alternatives you've considered Hacky way to do it right now, is to take
Retriever.csv
in eval run add a column with score (re-run ranker inference) then sort based on score and add it as df toEvaluationResults
so we saveRanker.csv
This is using Haystack 1.x