Skip to content

SystemContentBlock

Union Type

SystemContentBlock module-attribute

Contains a system prompt to provide context to the model or to describe how it should behave. For more information, see Create a prompt using Prompt management.

Union Member Types

SystemContentBlockText dataclass

Bases: _SerdeShape

The text in the system prompt.

Attributes

value instance-attribute
value: str

SystemContentBlockCachePoint dataclass

Bases: _SerdeShape

Creates a cache checkpoint within a tool designation

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