Skip to content

Bedrock Runtime  >  Structures  >  ReasoningTextBlock

ReasoningTextBlock

Structure Class

ReasoningTextBlock dataclass

Contains the reasoning that the model used to return the output.

Attributes

signature class-attribute instance-attribute
signature: str | None = None

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.