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

The text in the system prompt.

SystemContentBlockCachePointDict

Bases: TypedDict

Attributes

cache_point instance-attribute

Creates a cache checkpoint within a tool designation