Skip to content

ReasoningTextBlock

Structure Class

ReasoningTextBlock dataclass

Bases: _SerdeShape

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

Attributes

signature class-attribute 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: str

The reasoning that the model used to return the output.