Uses of Class
org.springframework.ai.anthropic.Citation
-
Uses of Citation in org.springframework.ai.anthropic
Methods in org.springframework.ai.anthropic that return CitationModifier and TypeMethodDescriptionstatic CitationCitation.ofCharLocation(String citedText, int documentIndex, @Nullable String documentTitle, int startCharIndex, int endCharIndex) Create a character location citation for plain text documents.static CitationCitation.ofContentBlockLocation(String citedText, int documentIndex, @Nullable String documentTitle, int startBlockIndex, int endBlockIndex) Create a content block location citation for custom content documents.static CitationCitation.ofPageLocation(String citedText, int documentIndex, @Nullable String documentTitle, int startPageNumber, int endPageNumber) Create a page location citation for PDF documents.