explain
Identify which past orders a model's prediction depends on by hiding candidate rows and re-asking the model; use the returned ID with verify before presenting them as reasons.
Instructions
Find the past orders that the model's prediction seems to rest on (the precedents).
Takes the most similar past orders as candidates, repeatedly hides a random half and re-asks the model, then scores each candidate by how much it raises the model's confidence. Slow: roughly one minute on a GPU with the defaults. The result is UNVERIFIED; call verify with the returned explanation_id before presenting the precedents as the reason.
Args: order_id: index of a held-out order. fields: field values for a new order, as an alternative to order_id. model: "fast" or "base". candidates: how many similar past orders to consider. rounds: hide-and-ask rounds; about three per candidate gives stable scores. top_k: how many precedents to return.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | fast | |
| top_k | No | ||
| fields | No | ||
| rounds | No | ||
| order_id | No | ||
| candidates | No |