verify_retrieval
Verify a candidate answer against source facts: checks each claim, returns confidence (HIGH/MEDIUM/LOW), verified and unverified claims, and per-claim source pointers.
Instructions
Adversarially verify an answer is grounded in a specific set of facts. An independent Coach LLM call checks each material claim in the answer against the supplied source facts and returns confidence (HIGH / MEDIUM / LOW), verified + unverified claim lists, and per-claim source_pointers. Never raises; failures return LOW + error populated. v0.12.12.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The user query the answer responds to | |
| answer | Yes | The candidate answer under verification | |
| fact_ids | Yes | IDs of facts the caller believes ground the answer. Missing IDs are silently dropped. | |
| verification_model | No | Optional Coach model override. Defaults to config.verification_model (Haiku 4.5). |