Skip to main content

Interface: IInputCheck

Defined in: internal/guardrails/types.ts:285

Result of the input check.

Properties​

issues​

issues: IIssue[]

Defined in: internal/guardrails/types.ts:289

Every issue the rules returned, in rule order, each with its ruleName; empty = clean.


ok​

ok: boolean

Defined in: internal/guardrails/types.ts:291

False when an ERROR issue exists.


prompt​

prompt: string

Defined in: internal/guardrails/types.ts:287

Sanitised prompt (trimmed, normalised).


traceIds​

traceIds: string[]

Defined in: internal/guardrails/types.ts:293

The trace entries of the judge calls this check made (kind GUARDRAIL_JUDGE); the gateway annotates them with the issues (D73).