GuardrailTopic¶
Structure Class¶
GuardrailTopic
dataclass
¶
The details for a specific topic defined in the Guardrail.
Attributes¶
action
class-attribute
instance-attribute
¶
action: GuardrailTopicPolicyAction | None = None
The action details on a specific topic in the Guardrail.
name
class-attribute
instance-attribute
¶
name: str | None = None
The name details on a specific topic in the Guardrail.
type
class-attribute
instance-attribute
¶
type: GuardrailTopicType | None = None
The type details on a specific topic in the Guardrail.