Authorizations
Body
application/json
Rerank documents for the given query
The query to rerank documents against.
Example:
"What is the capital of France?"
The documents to rerank.
Document for reranking
The number of results to return sorted by relevance. Defaults to the number of inputs.
Example:
5
Whether to return the documents in the response.
Example:
true
The field(s) to consider for reranking. If not provided, the default is ["text"]
.
The number of fields supported is model-specific.
Additional model-specific parameters. Refer to the model guide for available model parameters.
Example:
{ "truncate": "END" }