Skip to content

Interface: GuardrailReport

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Guardrail / GuardrailReport

Interface: GuardrailReport

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

The result of guarding one conversation turn.

Remarks

Returned by POST /api/v1/guardrail/conversation. Each factoid is certified against the tenant’s knowledge base; the non-factoid subtypes carry their type-determined disposition. Every verdict is persisted in the certificate store for audit.

Example

const report: GuardrailReport = {
assessments: [],
intents: ['ask_contraindication'],
summary: { abstained: 0, certified: 0, factoids: 0, refuted: 0, totalClaims: 0 },
};

Properties

assessments

assessments: ClaimAssessment[]

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

One assessment per extracted claim, in order.


intents

intents: string[]

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

User intents extracted from the turn (content only).


summary

summary: GuardrailSummary

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

Aggregate counts.