GuardrailWordPolicy¶
Structure Class¶
GuardrailWordPolicy
dataclass
¶
Bases: _SerdeShape
Contains details about the word policy configured for the guardrail.
Attributes¶
managed_word_lists
class-attribute
instance-attribute
¶
managed_word_lists: list[GuardrailManagedWords] | None = ...
A list of managed words configured for the guardrail.
words
class-attribute
instance-attribute
¶
words: list[GuardrailWord] | None = ...
A list of words configured for the guardrail.