Text

@SerialName(value = "text")
data class Text(val text: String) : AnthropicResponseContent(source)

Represents the textual content in a response from the Anthropic language model.

This class is a specific type of AnthropicResponseContent, providing a structured way to handle text-based responses.

Constructors

Link copied to clipboard
constructor(text: String)

Properties

Link copied to clipboard

The content of the textual response.