ReasoningContentBlock¶
Union Type¶
ReasoningContentBlock
module-attribute
¶
ReasoningContentBlock = Union[ReasoningContentBlockReasoningText | ReasoningContentBlockRedactedContent | ReasoningContentBlockUnknown]
Contains content regarding the reasoning that is carried out by the model with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.
Union Member Types¶
ReasoningContentBlockReasoningText
dataclass
¶
The reasoning that the model used to return the output.