mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-01 18:29:32 +00:00
* proposal: meta field ranker * Apply suggestions from code review Co-authored-by: ZanSara <sarazanzo94@gmail.com> * update proposal filename * feat: add metafield ranker * fix docstrings * remove proposal file from pr * add release notes * update code according to new Document class * separate loops for each ranking mode in __merge_scores * change error type in init and new tests for linear score warning * docstring upd --------- Co-authored-by: ZanSara <sarazanzo94@gmail.com> Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>
5 lines
138 B
YAML
5 lines
138 B
YAML
---
|
|
preview:
|
|
- |
|
|
Adds MetaFieldRanker, a component that ranks a list of Documents based on the value of a metadata field of choice.
|