Skip to content

Bedrock Runtime  >  Structures  >  GuardrailChecksPromptAttackResultEntry

GuardrailChecksPromptAttackResultEntry

Structure Class

GuardrailChecksPromptAttackResultEntry dataclass

The evaluation result for a single prompt attack category.

Attributes

category instance-attribute

The prompt attack category that was evaluated.

severity_score instance-attribute
severity_score: float

The severity score for the category, ranging from 0.0 to 1.0. Higher values indicate greater severity.