GuardrailRegexFilter¶
Structure Class¶
GuardrailRegexFilter
dataclass
¶
Bases: _SerdeShape
The details for the regex filter used in the Guardrail.
Attributes¶
action
class-attribute
instance-attribute
¶
action: str | None = ...
The action details for the regex filter used in the Guardrail.
match
class-attribute
instance-attribute
¶
match: str | None = ...
The match details for the regex filter used in the Guardrail.