Text

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

Text content part in the OpenAI chat completion API.

Constructors

Link copied to clipboard
constructor(text: String)

Properties

Link copied to clipboard

The text content.