Interface: IOutputCheck<TStructured>
Defined in: internal/guardrails/types.ts:297
Result of the output check.
Type Parameters
TStructured
TStructured = unknown
Properties
issues
issues:
IIssue[]
Defined in: internal/guardrails/types.ts:301
The truncation and schema issues, then every issue the rules returned with its ruleName; empty = clean.
ok
ok:
boolean
Defined in: internal/guardrails/types.ts:303
False when an ERROR issue exists.
structured?
optionalstructured?:TStructured
Defined in: internal/guardrails/types.ts:299
The parsed value; present when a schema was given and the output matches it.
traceIds
traceIds:
string[]
Defined in: internal/guardrails/types.ts:305
The trace entries of the judge calls this check made (kind GUARDRAIL_JUDGE); the gateway annotates them with the issues (D73).