test_retrieval
Scores a question against all knowledge items and shows which clear the retrieval threshold, catching non-English cases where right document ranks first but scores below 0.2 and nothing is retrieved.
Instructions
Score a question against every knowledge item and show which ones clear the retrieval threshold. Use to catch the silent failure where a non-English question ranks the correct document first but still falls under the 0.2 minimum score, so nothing is retrieved at all.
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>"
},
"name": "test_retrieval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many results to return. Default 5. | |
| question | Yes | ||
| min_score | No | Threshold to compare against. Default 0.2 — the production value. | |
| business_id | No | Optional if active business was set via switch_business. |