opensearch-project / dashboards-flow-framework

A UI designer for constructing AI applications with OpenSearch
Apache License 2.0
9 stars 8 forks source link

Onboard rerank by field processor #476

Closed ohltyler closed 5 days ago

ohltyler commented 6 days ago

Description

Onboards the rerank search response processor (by_field type only). This can be used in conjunction with a reranking model, to re-sort the returned documents by the model's scores, instead of the default BM25 _score.

Demo video, showing the basic re-sorting by review field instead of _score.

screen-capture (2).webm

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.