Skip to main content

Interface: IOutputJudgeArgs

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

A judge call of an output rule: the question and the answer always, plus what is switched on.

Extends​

Properties​

chunks​

chunks: boolean

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

Send the KB chunks that were in the prompt (grounding).


instruction​

instruction: string

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

What to check, e.g. "Does the prompt seek instructions for weapons or explosives?".

Inherited from​

IJudgeArgs.instruction


model?​

optional model?: EJudgeModel

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

Default CHEAP.

Inherited from​

IJudgeArgs.model


toolResults​

toolResults: boolean

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

Send the tool results of the run.