Error
Rerank
Rerank documents
Reorders input documents by relevance to a query.
POST
Error
Authorizations
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Body
application/json
Model in provider/model format
Example:
"cohere/rerank-v3.5"
Query used to score and reorder documents
Minimum string length:
1Documents to rerank
Minimum array length:
1Fallback models in provider/model format
Maximum number of ranked results to return
Required range:
x >= 1Maximum tokens to consider per document (provider-dependent)
Required range:
x >= 1Request priority hint (provider-dependent)
Whether to include document content in each result
