Package com.openai.models.responses
Class ResponseOutputText
-
- All Implemented Interfaces:
public final class ResponseOutputText
A text output from the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseOutputText.Builder
A builder for ResponseOutputText.
public final class
ResponseOutputText.Annotation
A citation to a file.
-
Method Summary
Modifier and Type Method Description final List<ResponseOutputText.Annotation>
annotations()
The annotations of the text output. final String
text()
The text output from the model. final JsonValue
_type()
The type of the output text. final JsonField<List<ResponseOutputText.Annotation>>
_annotations()
The annotations of the text output. final JsonField<String>
_text()
The text output from the model. final Map<String, JsonValue>
_additionalProperties()
final ResponseOutputText
validate()
final ResponseOutputText.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseOutputText.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseOutputText. -
-
Method Detail
-
annotations
final List<ResponseOutputText.Annotation> annotations()
The annotations of the text output.
-
_annotations
final JsonField<List<ResponseOutputText.Annotation>> _annotations()
The annotations of the text output.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseOutputText validate()
-
toBuilder
final ResponseOutputText.Builder toBuilder()
-
builder
final static ResponseOutputText.Builder builder()
Returns a mutable builder for constructing an instance of ResponseOutputText.
The following fields are required:
.annotations() .text()
-
-
-
-