OutputContent

constructor(type: OutputContent.Type, text: String, annotations: List<Annotation>, refusal: String? = null)(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.

refusal

The refusal explanationfrom the model.