java.lang.Object
co.elastic.clients.elasticsearch.inference.rerank.RerankInput
All Implemented Interfaces:
JsonpSerializable, TaggedUnion<RerankInput.Kind,Object>

@JsonpDeserializable public class RerankInput extends Object implements TaggedUnion<RerankInput.Kind,Object>, JsonpSerializable
The documents to rank for the rerank task. Either a string, an array of strings, an object, or an array of objects. The object form additionally allows specifying non-text inputs, such as images.

info Only the elastic service currently supports non-text inputs for the rerank task.

See Also: