Rerank
Rerank results
Rerank query results according to their relevance to a query. This endpoint uses Pinecone Inference.
POST
Authorizations
Body
application/json
The query to rerank documents against.
The documents to rerank.
The number of results to return sorted by relevance. Defaults to the number of inputs.
Whether to return the documents in the response.
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.
Was this page helpful?