Skip to content

GuardrailChecksUsageResults

Structure Class

GuardrailChecksUsageResults dataclass

Bases: _SerdeShape

The text unit usage for the guardrail checks evaluation, organized by check type.

Attributes

content_filter class-attribute instance-attribute
content_filter: GuardrailChecksContentFilterUsage | None = ...

The text unit usage for the content filter check.

prompt_attack class-attribute instance-attribute
prompt_attack: GuardrailChecksPromptAttackUsage | None = ...

The text unit usage for the prompt attack check.

sensitive_information class-attribute instance-attribute
sensitive_information: GuardrailChecksSensitiveInformationUsage | None = ...

The text unit usage for the sensitive information check.