Skip to content

GuardrailContentPolicyConfig

Source code in docs_src/capo_bedrock/types/guardrail_content_policy_config.py
class GuardrailContentPolicyConfig(TypedDict, closed=True):
    filters_config: "capo_bedrock.types.guardrail_content_filters_config.GuardrailContentFiltersConfig"
    """<p>Contains the type of the content filter and how strongly it should apply to prompts and model responses.</p>"""
    tier_config: NotRequired[
        "capo_bedrock.types.guardrail_content_filters_tier_config.GuardrailContentFiltersTierConfig"
    ]
    """<p>The tier that your guardrail uses for content filters.</p>"""

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

tier_config: NotRequired[GuardrailContentFiltersTierConfig]

The tier that your guardrail uses for content filters.