BedrockAnthropicInvokeModelContent
Represents a class for constructing various types of content used in invoking models via the Bedrock Anthropic API.
This sealed class acts as the base type for different kinds of invocation-related content such as textual responses, tool results, and tool call instructions. It enables a structured approach to managing the diverse data types utilized in interactions with the Bedrock Anthropic API.
Inheritors
Types
Link copied to clipboard
Represents the text content in a model invocation for the Bedrock Anthropic API.
Link copied to clipboard
class ToolCall(val id: String, val name: String, val input: JsonElement) : BedrockAnthropicInvokeModelContent
Represents a tool call instruction which is part of the model invocation content.
Link copied to clipboard
Represents the result of a tool invocation in the context of Bedrock's Anthropic API.