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