grade_answer
Identify unsupported claims in a draft answer by verifying each sentence against the provided source texts.
Instructions
Check a draft answer against its sources and report which sentences the sources do NOT support — fabricated figures and claims the sources never make. Deterministic and lexical, not a model judgement. Call this on your own answer before giving it to the user when the answer is supposed to be grounded in provided material.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | the answer to check | |
| sources | Yes | the source texts the answer is supposed to rest on | |
| threshold | No | min fraction of a sentence's content words that must appear in the sources (default 0.6) |