API Reference / auditCitations · function
Function: auditCitations()
function auditCitations(claims, ctx): CitationAudit;
Check that a model's claims cite only facts that exist in the context -- the
accuracy half of "novel and accurate". A claim citing an id not in ctx
fabricated its provenance, so ok is false and the id lands in unknown.
Parameters
| Parameter | Type | Description |
|---|---|---|
claims | Claim[] | The model's statements with their cited ids. |
ctx | InterpretationContext | The InterpretationContext the brief was built from. |