ReasoningTextBlock¶
Structure Class¶
ReasoningTextBlock
dataclass
¶
Contains information about the reasoning that the model used to return the content in the content block.
Attributes¶
signature
class-attribute
instance-attribute
¶
signature: str | None = None
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.