Skip to content

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.

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

The name details for the regex filter used in the Guardrail.

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

The regex details for the regex filter used in the Guardrail.