haystack/releasenotes/notes/add-metadata-field-ranker-a8afd5bf15f29a0a.yaml
Domenico 676da681d0
feat: MetaField Ranker (#6189)
* 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>
2023-11-09 12:20:41 +01:00

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.