Text

@Serializable
@SerialName(value = "text")
data class Text(val text: String, val promptCacheBreakpoint: PromptCacheBreakpoint? = null) : ChatInputPart

Text input and optional cache boundary.

Constructors

Link copied to clipboard
constructor(text: String, promptCacheBreakpoint: PromptCacheBreakpoint? = null)

Properties

Link copied to clipboard
@SerialName(value = "prompt_cache_breakpoint")
val promptCacheBreakpoint: PromptCacheBreakpoint? = null

Optional cache boundary.

Link copied to clipboard

Input text.