Skip to content

GuardrailContentPolicyConfigDict

Dictionary Type

GuardrailContentPolicyConfigDict

Bases: TypedDict

Dictionary form of GuardrailContentPolicyConfig.

Attributes

filters_config instance-attribute

Contains the type of the content filter and how strongly it should apply to prompts and model responses.

tier_config instance-attribute

The tier that your guardrail uses for content filters.