Check a claim against source context
check_hallucinationVerify whether a claim is grounded in a given source text by passing the claim and context, and catch fabricated facts with a confidence score and risk assessment.
Instructions
Verify whether a claim or generated answer is grounded in a given source text. Use this after producing a summary, answer, or extraction from documents, search results, or retrieved context to catch fabricated facts before presenting them. Pass the generated text as claim and the material it should be based on as context. Returns grounded (boolean), a 0-1 confidence (1 = fully grounded), riskLevel, the specific risky statements (overconfident claims, unverified citations, unsourced statistics, contradictions), and a recommendation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claim | Yes | The statement, answer, or summary to verify. | |
| context | Yes | The source material the claim must be supported by (documents, retrieved passages, search results). |