GuardrailChecksUsageResults¶
Structure Class¶
GuardrailChecksUsageResults
dataclass
¶
The text unit usage for the guardrail checks evaluation, organized by check type.
Attributes¶
content_filter
class-attribute
instance-attribute
¶
content_filter: GuardrailChecksContentFilterUsage | None = None
The text unit usage for the content filter check.
prompt_attack
class-attribute
instance-attribute
¶
prompt_attack: GuardrailChecksPromptAttackUsage | None = None
The text unit usage for the prompt attack check.
sensitive_information
class-attribute
instance-attribute
¶
sensitive_information: GuardrailChecksSensitiveInformationUsage | None = None
The text unit usage for the sensitive information check.