static Citation.Builder |
Citation.builder() |
|
default Citation.Builder |
Citation.Builder.location(Consumer<CitationLocation.Builder> location) |
The precise location within the source document where the cited content can be found, including character
positions, page numbers, or chunk identifiers.
|
Citation.Builder |
Citation.Builder.location(CitationLocation location) |
The precise location within the source document where the cited content can be found, including character
positions, page numbers, or chunk identifiers.
|
Citation.Builder |
Citation.Builder.source(String source) |
The source from the original search result that provided the cited content.
|
Citation.Builder |
Citation.Builder.sourceContent(Collection<CitationSourceContent> sourceContent) |
The specific content from the source document that was referenced or cited in the generated response.
|
Citation.Builder |
Citation.Builder.sourceContent(Consumer<CitationSourceContent.Builder>... sourceContent) |
The specific content from the source document that was referenced or cited in the generated response.
|
Citation.Builder |
Citation.Builder.sourceContent(CitationSourceContent... sourceContent) |
The specific content from the source document that was referenced or cited in the generated response.
|
Citation.Builder |
Citation.Builder.title(String title) |
The title or identifier of the source document being cited.
|
Citation.Builder |
Citation.toBuilder() |
|