Skip to content

GuardrailChecksPromptAttackCategoryConfig

Structure Class

GuardrailChecksPromptAttackCategoryConfig dataclass

Bases: _SerdeShape

The configuration for a single prompt attack category to evaluate.

Attributes

category instance-attribute
category: str

The prompt attack category to evaluate.