Interface: GuardrailSummary
@kortexya/reasoninglayer / GuardrailSummary
Interface: GuardrailSummary
Section titled “Interface: GuardrailSummary”Defined in: src/types/guardrail.ts:148
Aggregate counts over a guardrail report.
Remarks
Section titled “Remarks”factoids counts the world-checkable subtype; certified, refuted, and
abstained count dispositions across all claims.
Example
Section titled “Example”const summary: GuardrailSummary = { abstained: 1, certified: 3, factoids: 4, refuted: 1, totalClaims: 5,};Properties
Section titled “Properties”abstained
Section titled “abstained”abstained:
number
Defined in: src/types/guardrail.ts:150
How many claims were abstained on.
certified
Section titled “certified”certified:
number
Defined in: src/types/guardrail.ts:152
How many factoids were certified.
factoids
Section titled “factoids”factoids:
number
Defined in: src/types/guardrail.ts:154
How many claims were factoids (the world-checkable subtype).
refuted
Section titled “refuted”refuted:
number
Defined in: src/types/guardrail.ts:156
How many claims were refuted (caught hallucinations).
totalClaims
Section titled “totalClaims”totalClaims:
number
Defined in: src/types/guardrail.ts:158
Total claims extracted from the turn.