Skip to content

GuardrailCustomWord

Structure Class

GuardrailCustomWord dataclass

Bases: _SerdeShape

The custom word details for the filter in the Guardrail.

Attributes

action class-attribute instance-attribute
action: str | None = ...

The action details for the custom word filter in the Guardrail.

match class-attribute instance-attribute
match: str | None = ...

The match details for the custom word filter in the Guardrail.