Skip to content

GuardrailWordPolicyConfig

Structure Class

GuardrailWordPolicyConfig dataclass

Bases: _SerdeShape

Contains details about the word policy to configured for the guardrail.

Attributes

managed_word_lists_config class-attribute instance-attribute
managed_word_lists_config: list[GuardrailManagedWordsConfig] | None = ...

A list of managed words to configure for the guardrail.

words_config class-attribute instance-attribute
words_config: list[GuardrailWordConfig] | None = ...

A list of words to configure for the guardrail.