Enumeration: ERuleStage
Defined in: internal/guardrails/types.ts:316
Which check a rule belongs to.
Enumeration Members
INPUT
INPUT:
"INPUT"
Defined in: internal/guardrails/types.ts:318
A rule on the prompt, before the model call (IGuardrailsConfig.inputRules and the built-in ones).
OUTPUT
OUTPUT:
"OUTPUT"
Defined in: internal/guardrails/types.ts:320
A rule on the answer, after the model call (IGuardrailsConfig.outputRules).