Skip to content

ReasoningTextBlock

Source code in docs_src/capo_bedrock_runtime/types/reasoning_text_block.py
class ReasoningTextBlock(TypedDict, closed=True):
    text: "str"
    """<p>The reasoning that the model used to return the output.</p>"""
    signature: NotRequired["str"]
    """<p>A token that verifies that the reasoning text was generated by the model. If you pass a reasoning block back to the API in a multi-turn conversation, include the text and its signature unmodified.</p>"""

signature instance-attribute

signature: NotRequired[str]

A token that verifies that the reasoning text was generated by the model. If you pass a reasoning block back to the API in a multi-turn conversation, include the text and its signature unmodified.

text instance-attribute

text: str

The reasoning that the model used to return the output.