elastic / eland

Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
https://eland.readthedocs.io
Apache License 2.0
21 stars 99 forks source link

Add CLI hit for rerank task type #712

Closed jeffvestal closed 3 months ago

jeffvestal commented 3 months ago

The Elasticsearch inference API supports a rerank task type for reranker models loaded into elasticsearch via eland. Eland does not have a reranker task_type. Instead, the task type text_similarity should be used.

Updating the CLI help message to direct users to use text_similarity for rerankers will reduce confusion and frustration.

Something along the lines of text_similarity, used for rerank tasks in the Inference API