OutputContent

data class OutputContent(val type: OutputContent.Type, val text: String, val annotations: List<Annotation>, val 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.

Constructors

Link copied to clipboard
constructor(type: OutputContent.Type, text: String, annotations: List<Annotation>, refusal: String? = null)

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 = "refusal")
val refusal: String?
Link copied to clipboard
@SerialName(value = "text")
val text: String
Link copied to clipboard