Uses of Class
org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
Packages that use AnthropicCitationDocument.Builder
Package
Description
Spring AI integration with Anthropic's Claude models using the official
Anthropic Java SDK.
-
Uses of AnthropicCitationDocument.Builder in org.springframework.ai.anthropic
Methods in org.springframework.ai.anthropic that return AnthropicCitationDocument.BuilderModifier and TypeMethodDescriptionAnthropicCitationDocument.builder()AnthropicCitationDocument.Builder.citationsEnabled(boolean enabled) Enable or disable citations for this document.Set the document context.AnthropicCitationDocument.Builder.customContent(String... textBlocks) Create a custom content document from text blocks.AnthropicCitationDocument.Builder.pdf(byte[] pdfBytes) Create a PDF document from byte array.Create a PDF document from file path.Create a plain text document.Set the document title.