Package com.openai.models
Class Text.Builder
-
- All Implemented Interfaces:
public final class Text.Builder
-
-
Constructor Summary
Constructors Constructor Description Text.Builder()
-
Method Summary
Modifier and Type Method Description final Text.Builderannotations(List<Annotation> annotations)final Text.Builderannotations(JsonField<List<Annotation>> annotations)final Text.BuilderaddAnnotation(Annotation annotation)final Text.BuilderaddAnnotation(FileCitationAnnotation fileCitationAnnotation)A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final Text.BuilderaddAnnotation(FilePathAnnotation filePathAnnotation)A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.final Text.Buildervalue(String value)The data that makes up the text. final Text.Buildervalue(JsonField<String> value)The data that makes up the text. final Text.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Text.BuilderputAdditionalProperty(String key, JsonValue value)final Text.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Text.BuilderremoveAdditionalProperty(String key)final Text.BuilderremoveAllAdditionalProperties(Set<String> keys)final Textbuild()-
-
Method Detail
-
annotations
final Text.Builder annotations(List<Annotation> annotations)
-
annotations
final Text.Builder annotations(JsonField<List<Annotation>> annotations)
-
addAnnotation
final Text.Builder addAnnotation(Annotation annotation)
-
addAnnotation
final Text.Builder addAnnotation(FileCitationAnnotation fileCitationAnnotation)
A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the "file_search" tool to search files.
-
addAnnotation
final Text.Builder addAnnotation(FilePathAnnotation filePathAnnotation)
A URL for the file that's generated when the assistant used the
code_interpretertool to generate a file.
-
value
final Text.Builder value(String value)
The data that makes up the text.
-
value
final Text.Builder value(JsonField<String> value)
The data that makes up the text.
-
additionalProperties
final Text.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Text.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Text.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Text.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Text.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-