Skip to content

Bedrock Runtime  >  Unions  >  ReasoningContentBlockDelta

ReasoningContentBlockDelta

Union Type

ReasoningContentBlockDelta module-attribute

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

ReasoningContentBlockDeltaText dataclass

The reasoning that the model used to return the output.

Attributes

value instance-attribute
value: str

ReasoningContentBlockDeltaRedactedContent dataclass

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

Attributes

value instance-attribute
value: bytes

ReasoningContentBlockDeltaSignature dataclass

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.

Attributes

value instance-attribute
value: str

ReasoningContentBlockDeltaUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str