rank_passages
Ranks passages by relevance to a question and returns the top_k most relevant first, each with its index and a 0-1 relevance score, plus an ANSWER or SEARCH decision.
Instructions
Rank passages by relevance to question (the chopper used as a reranker: on a held-out 8-language set it
ranks within ~1 nDCG point of bge-reranker-v2-m3 at the same speed). Returns the top_k passages, most relevant
first, with their index and relevance (0..1), plus decision ANSWER / SEARCH.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"question": "<question>",
"passages": "<passages>"
},
"name": "rank_passages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| passages | Yes | ||
| question | Yes |