Class AnnotationDelta
-
- All Implemented Interfaces:
public final class AnnotationDelta
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
AnnotationDelta.Visitor
public final class
AnnotationDelta.Deserializer
public final class
AnnotationDelta.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_interpreter
tool to generate a file.final Boolean
isFileCitationDeltaAnnotation()
final Boolean
isFilePathDeltaAnnotation()
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. final FilePathDeltaAnnotation
asFilePathDeltaAnnotation()
A URL for the file that's generated when the assistant used the code_interpreter
tool to generate a file.final Optional<JsonValue>
_json()
final <T extends Any> T
accept(AnnotationDelta.Visitor<T> visitor)
final AnnotationDelta
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
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. final static AnnotationDelta
ofFilePathDeltaAnnotation(FilePathDeltaAnnotation filePathDeltaAnnotation)
A URL for the file that's generated when the assistant used the code_interpreter
tool 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_interpreter
tool 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_interpreter
tool 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_interpreter
tool to generate a file.
-
-
-
-