Skip to content

SystemContentBlock

Union Type

SystemContentBlock module-attribute

Contains configurations for instructions to provide the model for how to handle input. To learn more, see Using the Converse API.

Union Member Types

SystemContentBlockText dataclass

Bases: _SerdeShape

A system prompt for the model.

Attributes

value instance-attribute
value: str

SystemContentBlockGuardContent dataclass

Bases: _SerdeShape

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.

Attributes

value instance-attribute

SystemContentBlockCachePoint dataclass

Bases: _SerdeShape

CachePoint to include in the system prompt.

Attributes

value instance-attribute

SystemContentBlockUnknown dataclass

Bases: _SerdeShape

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