GuardrailOutcome
Result of running the chain over one piece of text.
Defined in: src/core/pipeline/GuardrailPipeline.ts:55
Result of running the chain over one piece of text.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
applications | GuardrailApplication[] | Guardrails that rewrote or blocked the text, in the order they ran. | src/core/pipeline/GuardrailPipeline.ts:61 |
blocked | boolean | Whether a guardrail suppressed the text. | src/core/pipeline/GuardrailPipeline.ts:59 |
text | string | Text that survived the chain. Empty when GuardrailOutcome.blocked is true. | src/core/pipeline/GuardrailPipeline.ts:57 |