GuardrailPiiEntityFilter¶
Structure Class¶
GuardrailPiiEntityFilter
dataclass
¶
The Guardrail filter to identify and remove personally identifiable information (PII).
Attributes¶
action
class-attribute
instance-attribute
¶
action: GuardrailSensitiveInformationPolicyAction | None = None
The action of the Guardrail filter to identify and remove PII.
match
class-attribute
instance-attribute
¶
match: str | None = None
The match to settings in the Guardrail filter to identify and remove PII.
type
class-attribute
instance-attribute
¶
type: GuardrailPiiEntityType | None = None
The type of PII the Guardrail filter has identified and removed.