Class FileCitationAnnotation
-
- All Implemented Interfaces:
public final class FileCitationAnnotationA 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 final classFileCitationAnnotation.BuilderA builder for FileCitationAnnotation.
public final classFileCitationAnnotation.FileCitation
-
Method Summary
Modifier and Type Method Description final LongendIndex()final FileCitationAnnotation.FileCitationfileCitation()final LongstartIndex()final Stringtext()The text in the message content that needs to be replaced. final JsonValue_type()Always file_citation.final JsonField<Long>_endIndex()final JsonField<FileCitationAnnotation.FileCitation>_fileCitation()final JsonField<Long>_startIndex()final JsonField<String>_text()The text in the message content that needs to be replaced. final Map<String, JsonValue>_additionalProperties()final FileCitationAnnotationvalidate()final FileCitationAnnotation.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileCitationAnnotation.Builderbuilder()Returns a mutable builder for constructing an instance of FileCitationAnnotation. -
-
Method Detail
-
fileCitation
final FileCitationAnnotation.FileCitation fileCitation()
-
startIndex
final Long startIndex()
-
_fileCitation
final JsonField<FileCitationAnnotation.FileCitation> _fileCitation()
-
_startIndex
final JsonField<Long> _startIndex()
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FileCitationAnnotation validate()
-
toBuilder
final FileCitationAnnotation.Builder toBuilder()
-
builder
final static FileCitationAnnotation.Builder builder()
Returns a mutable builder for constructing an instance of FileCitationAnnotation.
The following fields are required:
.endIndex() .fileCitation() .startIndex() .text()
-
-
-
-