OutputText

@SerialName(value = "output_text")
data class OutputText(val type: String = "output_text", val text: String, val annotations: List<String> = emptyList()) : ContentPart(source)

Output text content part (used in assistant responses).

Constructors

Link copied to clipboard
constructor(type: String = "output_text", text: String, annotations: List<String> = emptyList())

Properties

Link copied to clipboard

Optional list of annotations for the text.

Link copied to clipboard

The output text content.

Link copied to clipboard

The type of content, always "output_text".