search_rerank
Enhance retrieval precision by combining hybrid search with cross-encoder reranking, prioritizing result quality over speed for final-answer tasks.
Instructions
Hybrid search followed by cross-encoder reranking over the top results, for maximum precision at the cost of extra latency. Use this when result quality matters more than speed, e.g. for a final answer rather than an exploratory 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": {
"collection": "<collection>",
"query": "<query>"
},
"name": "search_rerank"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| filters | No | ||
| collection | Yes | ||
| rerank_top_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |