Skip to content

Interface: GuardrailSummary

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GuardrailSummary

Defined in: src/types/guardrail.ts:148

Aggregate counts over a guardrail report.

factoids counts the world-checkable subtype; certified, refuted, and abstained count dispositions across all claims.

const summary: GuardrailSummary = {
abstained: 1,
certified: 3,
factoids: 4,
refuted: 1,
totalClaims: 5,
};

abstained: number

Defined in: src/types/guardrail.ts:150

How many claims were abstained on.


certified: number

Defined in: src/types/guardrail.ts:152

How many factoids were certified.


factoids: number

Defined in: src/types/guardrail.ts:154

How many claims were factoids (the world-checkable subtype).


refuted: number

Defined in: src/types/guardrail.ts:156

How many claims were refuted (caught hallucinations).


totalClaims: number

Defined in: src/types/guardrail.ts:158

Total claims extracted from the turn.