Skip to content

GuardrailTextBlock

Source code in docs_src/capo_bedrock_runtime/types/guardrail_text_block.py
class GuardrailTextBlock(TypedDict, closed=True):
    text: "str"
    """<p>The input text details to be evaluated by the guardrail.</p>"""
    qualifiers: NotRequired[
        "capo_bedrock_runtime.types.guardrail_content_qualifier_list.GuardrailContentQualifierList"
    ]
    """<p>The qualifiers describing the text block.</p>"""

qualifiers instance-attribute

qualifiers: NotRequired[GuardrailContentQualifierList]

The qualifiers describing the text block.

text instance-attribute

text: str

The input text details to be evaluated by the guardrail.