Skip to content

Interface: GuardrailSummary

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Guardrail / GuardrailSummary

Interface: GuardrailSummary

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

Aggregate counts over a guardrail report.

Remarks

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

Example

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

Properties

abstained

abstained: number

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

How many claims were abstained on.


certified

certified: number

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

How many factoids were certified.


factoids

factoids: number

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

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


refuted

refuted: number

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

How many claims were refuted (caught hallucinations).


totalClaims

totalClaims: number

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

Total claims extracted from the turn.