Skip to content

SystemContentBlockDict

Union Type

SystemContentBlockDict module-attribute

Dictionary form of SystemContentBlock, setting exactly one variant.

Union Member Types

SystemContentBlockTextDict

Bases: TypedDict

Attributes

text instance-attribute
text: str

A system prompt for the model.

SystemContentBlockGuardContentDict

Bases: TypedDict

Attributes

guard_content instance-attribute

A content block to assess with the guardrail. Use with the Converse or ConverseStream API operations.

For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide.

SystemContentBlockCachePointDict

Bases: TypedDict

Attributes

cache_point instance-attribute

CachePoint to include in the system prompt.