SystemContentBlock
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.
Inheritors
Types
Functions
Casts this SystemContentBlock as a CachePoint and retrieves its aws.sdk.kotlin.services.bedrockagent.model.CachePointBlock value. Throws an exception if the SystemContentBlock is not a CachePoint.
Casts this SystemContentBlock as a CachePoint and retrieves its aws.sdk.kotlin.services.bedrockagent.model.CachePointBlock value. Returns null if the SystemContentBlock is not a CachePoint.
Casts this SystemContentBlock as a Text and retrieves its kotlin.String value. Throws an exception if the SystemContentBlock is not a Text.
Casts this SystemContentBlock as a Text and retrieves its kotlin.String value. Returns null if the SystemContentBlock is not a Text.