OutputText

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

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.