Skip to content

SelectiveContentGuarding

Source code in docs_src/capo_bedrock/types/selective_content_guarding.py
class SelectiveContentGuarding(TypedDict, closed=True):
    system: NotRequired[
        "capo_bedrock.types.selective_guarding_mode.SelectiveGuardingMode"
    ]
    """<p>Selective guarding mode for system prompts."</p>"""
    messages: NotRequired[
        "capo_bedrock.types.selective_guarding_mode.SelectiveGuardingMode"
    ]
    """<p>Selective guarding mode for user messages.</p>"""

messages instance-attribute

messages: NotRequired[SelectiveGuardingMode]

Selective guarding mode for user messages.

system instance-attribute

system: NotRequired[SelectiveGuardingMode]

Selective guarding mode for system prompts."