The documents to rerank.
The model to use for reranking.
OptionalparametersAdditional model-specific parameters. Refer to the model guide for available model parameters.
The query to rerank documents against.
OptionalrankThe field(s) to consider for reranking. If not provided, the default is ["text"].
The number of fields supported is model-specific.
OptionalreturnWhether to return the documents in the response.
OptionaltopNThe number of results to return sorted by relevance. Defaults to the number of inputs.
Options for reranking documents against a query.