OutputText

data class OutputText(val type: OutputText.Type, val text: String, val annotations: List<Annotation>)(source)

A text output from the model.

Parameters

type

The type of the output text. Always output_text.

text

The text output from the model.

annotations

The annotations of the text output.

Constructors

Link copied to clipboard
constructor(type: OutputText.Type, text: String, annotations: List<Annotation>)

Types

Link copied to clipboard

The type of the output text. Always output_text.

Properties

Link copied to clipboard
@SerialName(value = "annotations")
val annotations: List<Annotation>
Link copied to clipboard
@SerialName(value = "text")
val text: String
Link copied to clipboard