verify_answer
Verify an answer against its sources under a policy, returning a sealed PASS/REVIEW/FAIL record with evidence and regulatory mapping. Uncovers hallucinations and citation gaps for RAG.
Instructions
Verify an answer against its sources under a policy and return the sealed record.
sources: (id, text) pairs, {"id","text"} dicts, or bare strings.
policy: a built-in name (e.g. "eu_ai_act_high_risk_v1"), a path, or YAML.
Returns the decision (PASS/REVIEW/FAIL), the evidence, the regulatory
mapping and the record with its content hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | ||
| locale | No | und | |
| policy | No | ||
| sources | Yes | ||
| question | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||