Cohere Reranker Provider¶
This provider reorders retrieved document chunks according to their relevance to the current query. Connect it to a Retriever when vector search finds broadly similar results but the Agent needs the strongest matches first.
- Category: Tool
- Purpose: Re-orders retrieved chunks by true relevance to the query
- Inputs: Retrieved documents
- Outputs:
reranker- Reranker instance, connected to Retriever - Configuration:
- Credential: Cohere API key (required)
- Model:
rerank-english-v3.0,rerank-multilingual-v3.0,rerank-english-v2.0,rerank-multilingual-v2.0. Default is the English model — select a multilingual model for non-English content - Top N: 1–20, default 10. Number of chunks that pass through. Set noticeably lower than the retriever's Search K, otherwise no filtering occurs
- Max Chunks Per Doc: 1–50, default 10. Prevents a single document from dominating the results
- Usage: Vector similarity is fast but coarse. The reranker reads each chunk together with the query and scores actual relevance. A typical pairing is Search K 20 with Top N 5.