GuardrailUsage¶
Structure Class¶
GuardrailUsage
dataclass
¶
The details on the use of the guardrail.
Attributes¶
automated_reasoning_policies
class-attribute
instance-attribute
¶
automated_reasoning_policies: int | None = None
The number of automated reasoning policies that were processed during the guardrail evaluation.
automated_reasoning_policy_units
class-attribute
instance-attribute
¶
automated_reasoning_policy_units: int | None = None
The number of text units processed by the automated reasoning policy.
content_policy_image_units
class-attribute
instance-attribute
¶
content_policy_image_units: int | None = None
The content policy image units processed by the guardrail.
content_policy_units
instance-attribute
¶
content_policy_units: int
The content policy units processed by the guardrail.
contextual_grounding_policy_units
instance-attribute
¶
contextual_grounding_policy_units: int
The contextual grounding policy units processed by the guardrail.
sensitive_information_policy_free_units
instance-attribute
¶
sensitive_information_policy_free_units: int
The sensitive information policy free units processed by the guardrail.
sensitive_information_policy_units
instance-attribute
¶
sensitive_information_policy_units: int
The sensitive information policy units processed by the guardrail.
topic_policy_units
instance-attribute
¶
topic_policy_units: int
The topic policy units processed by the guardrail.
word_policy_units
instance-attribute
¶
word_policy_units: int
The word policy units processed by the guardrail.