TextContent

data class TextContent(val text: String? = null, val annotations: Annotations? = null) : PromptMessageContentMultimodal(source)

Text provided to or from an LLM.

Constructors

Link copied to clipboard
constructor(text: String? = null, annotations: Annotations? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional annotations for the client.

Link copied to clipboard
val text: String? = null

The text content of the message.

Link copied to clipboard
open override val type: String