Skip to content

ReasoningTextBlockDict

Dictionary Type

ReasoningTextBlockDict

Bases: TypedDict

Dictionary form of ReasoningTextBlock.

Attributes

signature instance-attribute
signature: str | 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: Required[str]

The reasoning that the model used to return the output.