Uses of Class
com.google.genai.gaos.models.interactions.FileCitation
Packages that use FileCitation
-
Uses of FileCitation in com.google.genai.gaos.models.interactions
Methods in com.google.genai.gaos.models.interactions that return FileCitationModifier and TypeMethodDescriptionFileCitation.Builder.build()FileCitation.withCustomMetadata(Map<String, Object> customMetadata) User provided metadata about the retrieved context.FileCitation.withDocumentUri(String documentUri) The URI of the file.FileCitation.withEndIndex(Integer endIndex) End of the attributed segment, exclusive.FileCitation.withFileName(String fileName) The name of the file.FileCitation.withMediaId(String mediaId) Media ID in-case of image citations, if applicable.FileCitation.withPageNumber(Integer pageNumber) Page number of the cited document, if applicable.FileCitation.withSource(String source) Source attributed for a portion of the text.FileCitation.withStartIndex(Integer startIndex) Start of segment of the response that is attributed to this source.