Skip to content

ReasoningTextBlock

Source code in docs_src/capo_bedrock_agent_runtime/types/reasoning_text_block.py
class ReasoningTextBlock(TypedDict, closed=True):
    text: "str"
    """<p>Text describing the reasoning that the model used to return the content in the content block.</p>"""
    signature: NotRequired["str"]
    """<p>A hash of all the messages in the conversation to ensure that the content in the reasoning text block isn't tampered with. You must submit the signature in subsequent <code>Converse</code> requests, in addition to the previous messages. If the previous messages are tampered with, the response throws an error.</p>"""

signature instance-attribute

signature: NotRequired[str]

A hash of all the messages in the conversation to ensure that the content in the reasoning text block isn't tampered with. You must submit the signature in subsequent Converse requests, in addition to the previous messages. If the previous messages are tampered with, the response throws an error.

text instance-attribute

text: str

Text describing the reasoning that the model used to return the content in the content block.