Package com.openai.models.responses
Class ResponseOutputText.Builder
-
- All Implemented Interfaces:
public final class ResponseOutputText.Builder
A builder for ResponseOutputText.
-
-
Method Summary
-
-
Method Detail
-
annotations
final ResponseOutputText.Builder annotations(List<ResponseOutputText.Annotation> annotations)
The annotations of the text output.
-
annotations
final ResponseOutputText.Builder annotations(JsonField<List<ResponseOutputText.Annotation>> annotations)
The annotations of the text output.
-
addAnnotation
final ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation annotation)
The annotations of the text output.
-
addAnnotation
final ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation.FileCitation fileCitation)
A citation to a file.
-
addAnnotation
final ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation.UrlCitation urlCitation)
A citation for a web resource used to generate a model response.
-
addAnnotation
final ResponseOutputText.Builder addAnnotation(ResponseOutputText.Annotation.FilePath filePath)
A path to a file.
-
text
final ResponseOutputText.Builder text(String text)
The text output from the model.
-
text
final ResponseOutputText.Builder text(JsonField<String> text)
The text output from the model.
-
type
final ResponseOutputText.Builder type(JsonValue type)
The type of the output text. Always
output_text
.
-
additionalProperties
final ResponseOutputText.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseOutputText.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseOutputText.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseOutputText.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseOutputText.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseOutputText build()
-
-
-
-