Class AnnotationDelta
-
- All Implemented Interfaces:
public final class AnnotationDeltaA 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAnnotationDelta.Visitorpublic final classAnnotationDelta.Deserializerpublic final classAnnotationDelta.Serializer
-
Method Summary
Modifier and Type Method Description final Optional<FileCitationDeltaAnnotation>fileCitationDeltaAnnotation()A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final Optional<FilePathDeltaAnnotation>filePathDeltaAnnotation()A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.final BooleanisFileCitationDeltaAnnotation()final BooleanisFilePathDeltaAnnotation()final FileCitationDeltaAnnotationasFileCitationDeltaAnnotation()A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final FilePathDeltaAnnotationasFilePathDeltaAnnotation()A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.final Optional<JsonValue>_json()final <T extends Any> Taccept(AnnotationDelta.Visitor<T> visitor)final AnnotationDeltavalidate()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AnnotationDeltaofFileCitationDeltaAnnotation(FileCitationDeltaAnnotation fileCitationDeltaAnnotation)A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final static AnnotationDeltaofFilePathDeltaAnnotation(FilePathDeltaAnnotation filePathDeltaAnnotation)A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.-
-
Method Detail
-
fileCitationDeltaAnnotation
final Optional<FileCitationDeltaAnnotation> fileCitationDeltaAnnotation()
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.
-
filePathDeltaAnnotation
final Optional<FilePathDeltaAnnotation> filePathDeltaAnnotation()
A URL for the file that's generated when the assistant used the
code_interpretertool to generate a file.
-
isFileCitationDeltaAnnotation
final Boolean isFileCitationDeltaAnnotation()
-
isFilePathDeltaAnnotation
final Boolean isFilePathDeltaAnnotation()
-
asFileCitationDeltaAnnotation
final FileCitationDeltaAnnotation asFileCitationDeltaAnnotation()
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.
-
asFilePathDeltaAnnotation
final FilePathDeltaAnnotation asFilePathDeltaAnnotation()
A URL for the file that's generated when the assistant used the
code_interpretertool to generate a file.
-
accept
final <T extends Any> T accept(AnnotationDelta.Visitor<T> visitor)
-
validate
final AnnotationDelta validate()
-
ofFileCitationDeltaAnnotation
final static AnnotationDelta ofFileCitationDeltaAnnotation(FileCitationDeltaAnnotation fileCitationDeltaAnnotation)
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.
-
ofFilePathDeltaAnnotation
final static AnnotationDelta ofFilePathDeltaAnnotation(FilePathDeltaAnnotation filePathDeltaAnnotation)
A URL for the file that's generated when the assistant used the
code_interpretertool to generate a file.
-
-
-
-