BedrockAnthropicInvokeModelMessage

Data class representing a message used to invoke a model in the Bedrock Anthropic API.

Constructors

Link copied to clipboard
constructor(role: String, content: List<BedrockAnthropicInvokeModelContent>)

Properties

Link copied to clipboard

The content of the message, encapsulated in a BedrockAnthropicInvokeModelTextContent object.

Link copied to clipboard

The role of the message sender, such as "user", "assistant", or another predefined role.