Interface: GuardrailReport
@kortexya/reasoninglayer / GuardrailReport
Interface: GuardrailReport
Section titled “Interface: GuardrailReport”Defined in: src/types/guardrail.ts:217
The result of guarding one conversation turn.
Remarks
Section titled “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
Section titled “Example”const report: GuardrailReport = { assessments: [], intents: ['ask_contraindication'], summary: { abstained: 0, certified: 0, factoids: 0, refuted: 0, totalClaims: 0 },};Properties
Section titled “Properties”assessments
Section titled “assessments”assessments:
ClaimAssessment[]
Defined in: src/types/guardrail.ts:219
One assessment per extracted claim, in order.
intents
Section titled “intents”intents:
string[]
Defined in: src/types/guardrail.ts:221
User intents extracted from the turn (content only).
summary
Section titled “summary”summary:
GuardrailSummary
Defined in: src/types/guardrail.ts:223
Aggregate counts.