Rank a list of documents according to their relevance to a query primarily and your custom instructions secondarily. We evaluated the model on instructions for recency, document type, source, and metadata, and it can generalize to other instructions as well. The reranker supports multilinguality.
The total request cannot exceed 400,000 tokens. The combined length of the query, instruction and any document with its metadata must not exceed 8,000 tokens.
See our blog post and code examples. Email rerank-feedback@contextual.ai with any feedback or questions.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Rerank input request object.
Successful Response
Rerank output response.