Class TextDelta.Builder
-
- All Implemented Interfaces:
public final class TextDelta.BuilderA builder for TextDelta.
-
-
Method Summary
Modifier and Type Method Description final TextDelta.Builderannotations(List<AnnotationDelta> annotations)final TextDelta.Builderannotations(JsonField<List<AnnotationDelta>> annotations)final TextDelta.BuilderaddAnnotation(AnnotationDelta annotation)final TextDelta.BuilderaddAnnotation(FileCitationDeltaAnnotation fileCitation)A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final TextDelta.BuilderaddAnnotation(FilePathDeltaAnnotation filePath)A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.final TextDelta.BuilderaddFileCitationAnnotation(Long index)A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final TextDelta.BuilderaddFilePathAnnotation(Long index)A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.final TextDelta.Buildervalue(String value)The data that makes up the text. final TextDelta.Buildervalue(JsonField<String> value)The data that makes up the text. final TextDelta.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final TextDelta.BuilderputAdditionalProperty(String key, JsonValue value)final TextDelta.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final TextDelta.BuilderremoveAdditionalProperty(String key)final TextDelta.BuilderremoveAllAdditionalProperties(Set<String> keys)final TextDeltabuild()-
-
Method Detail
-
annotations
final TextDelta.Builder annotations(List<AnnotationDelta> annotations)
-
annotations
final TextDelta.Builder annotations(JsonField<List<AnnotationDelta>> annotations)
-
addAnnotation
final TextDelta.Builder addAnnotation(AnnotationDelta annotation)
-
addAnnotation
final TextDelta.Builder addAnnotation(FileCitationDeltaAnnotation fileCitation)
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 TextDelta.Builder addAnnotation(FilePathDeltaAnnotation filePath)
A URL for the file that's generated when the assistant used the
code_interpretertool to generate a file.
-
addFileCitationAnnotation
final TextDelta.Builder addFileCitationAnnotation(Long index)
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.
-
addFilePathAnnotation
final TextDelta.Builder addFilePathAnnotation(Long index)
A URL for the file that's generated when the assistant used the
code_interpretertool to generate a file.
-
value
final TextDelta.Builder value(String value)
The data that makes up the text.
-
value
final TextDelta.Builder value(JsonField<String> value)
The data that makes up the text.
-
additionalProperties
final TextDelta.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TextDelta.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TextDelta.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TextDelta.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TextDelta.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-