Skip to content

ReasoningContentBlockDict

Union Type

ReasoningContentBlockDict module-attribute

Dictionary form of ReasoningContentBlock, setting exactly one variant.

Union Member Types

ReasoningContentBlockReasoningTextDict

Bases: TypedDict

Attributes

reasoning_text instance-attribute

The reasoning that the model used to return the output.

ReasoningContentBlockRedactedContentDict

Bases: TypedDict

Attributes

redacted_content instance-attribute
redacted_content: bytes

The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses.