Skip to content

GuardrailChecksPromptAttackUsage

Structure Class

GuardrailChecksPromptAttackUsage dataclass

Bases: _SerdeShape

The text unit usage for the prompt attack check.

Attributes

text_units instance-attribute
text_units: int

The number of text units consumed by the prompt attack check.