Skip to content

Bedrock Runtime  >  Unions  >  ContentBlockDelta

ContentBlockDelta

Union Type

ContentBlockDelta module-attribute

A block of content in a streaming response.

Union Member Types

ContentBlockDeltaText dataclass

The content text.

Attributes

value instance-attribute
value: str

ContentBlockDeltaToolUse dataclass

Information about a tool that the model is requesting to use.

Attributes

value instance-attribute

ContentBlockDeltaToolResult dataclass

An incremental update that contains the results from a tool call.

Attributes

value instance-attribute
value: list[ToolResultBlockDelta]

ContentBlockDeltaReasoningContent dataclass

Contains content regarding the reasoning that is carried out by the model. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.

Attributes

value instance-attribute

ContentBlockDeltaCitation dataclass

Incremental citation information that is streamed as part of the response generation process.

Attributes

value instance-attribute

ContentBlockDeltaImage dataclass

A streaming delta event containing incremental image data.

Attributes

value instance-attribute

ContentBlockDeltaUnknown 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