View a markdown version of this page

GuardrailChecksPromptAttackResultEntry - Amazon Bedrock

GuardrailChecksPromptAttackResultEntry

The evaluation result for a single prompt attack category.

Contents

category

The prompt attack category that was evaluated.

Type: String

Valid Values: JAILBREAK | PROMPT_INJECTION | PROMPT_LEAKAGE

Required: Yes

severityScore

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

Type: Double

Valid Range: Minimum value of 0.0. Maximum value of 1.0.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: