Index

A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values

A

addCitationDocument(CitationDocument) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Add a single citation document.
ANTHROPIC - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.SkillType
Pre-built skills provided by Anthropic (xlsx, pptx, docx, pdf).
anthropicApi(AnthropicApi) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
 
AnthropicApi - Class in org.springframework.ai.anthropic.api
The Anthropic API client.
AnthropicApi(String, RestClient, WebClient, ApiKey) - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi
Create a new client api.
AnthropicApi.AnthropicMessage - Record Class in org.springframework.ai.anthropic.api
Input messages.
AnthropicApi.AnthropicSkill - Enum Class in org.springframework.ai.anthropic.api
Pre-built Anthropic Skills for document generation.
AnthropicApi.Builder - Class in org.springframework.ai.anthropic.api
 
AnthropicApi.ChatCompletionRequest - Record Class in org.springframework.ai.anthropic.api
Chat completion request object.
AnthropicApi.ChatCompletionRequest.CacheControl - Record Class in org.springframework.ai.anthropic.api
 
AnthropicApi.ChatCompletionRequest.Metadata - Record Class in org.springframework.ai.anthropic.api
Metadata about the request.
AnthropicApi.ChatCompletionRequest.OutputFormat - Record Class in org.springframework.ai.anthropic.api
 
AnthropicApi.ChatCompletionRequest.ThinkingConfig - Record Class in org.springframework.ai.anthropic.api
Configuration for the model's thinking mode.
AnthropicApi.ChatCompletionRequestBuilder - Class in org.springframework.ai.anthropic.api
 
AnthropicApi.ChatCompletionResponse - Record Class in org.springframework.ai.anthropic.api
Chat completion response object.
AnthropicApi.ChatCompletionResponse.Container - Record Class in org.springframework.ai.anthropic.api
Container information for Skills execution context.
AnthropicApi.ChatModel - Enum Class in org.springframework.ai.anthropic.api
Check the Models overview and model comparison for additional details and options.
AnthropicApi.CitationResponse - Record Class in org.springframework.ai.anthropic.api
Citation response structure from Anthropic API.
AnthropicApi.CitationsConfig - Record Class in org.springframework.ai.anthropic.api
Citations configuration for document ContentBlocks.
AnthropicApi.ContentBlock - Record Class in org.springframework.ai.anthropic.api
The content block of the message.
AnthropicApi.ContentBlock.ContentBlockBuilder - Class in org.springframework.ai.anthropic.api
 
AnthropicApi.ContentBlock.Source - Record Class in org.springframework.ai.anthropic.api
The source of the media content.
AnthropicApi.ContentBlock.Type - Enum Class in org.springframework.ai.anthropic.api
The ContentBlock type.
AnthropicApi.ContentBlockDeltaEvent - Record Class in org.springframework.ai.anthropic.api
Content block delta event.
AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaBody - Interface in org.springframework.ai.anthropic.api
 
AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson - Record Class in org.springframework.ai.anthropic.api
JSON content block delta.
AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaSignature - Record Class in org.springframework.ai.anthropic.api
Signature content block delta.
AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText - Record Class in org.springframework.ai.anthropic.api
Text content block delta.
AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaThinking - Record Class in org.springframework.ai.anthropic.api
Thinking content block delta.
AnthropicApi.ContentBlockStartEvent - Record Class in org.springframework.ai.anthropic.api
Content block start event.
AnthropicApi.ContentBlockStartEvent.ContentBlockBody - Interface in org.springframework.ai.anthropic.api
 
AnthropicApi.ContentBlockStartEvent.ContentBlockText - Record Class in org.springframework.ai.anthropic.api
Text content block.
AnthropicApi.ContentBlockStartEvent.ContentBlockThinking - Record Class in org.springframework.ai.anthropic.api
Thinking content block.
AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse - Record Class in org.springframework.ai.anthropic.api
Tool use content block.
AnthropicApi.ContentBlockStopEvent - Record Class in org.springframework.ai.anthropic.api
Content block stop event.
AnthropicApi.ErrorEvent - Record Class in org.springframework.ai.anthropic.api
Error event.
AnthropicApi.ErrorEvent.Error - Record Class in org.springframework.ai.anthropic.api
Error body.
AnthropicApi.EventType - Enum Class in org.springframework.ai.anthropic.api
The event type of the streamed chunk.
AnthropicApi.FileMetadata - Record Class in org.springframework.ai.anthropic.api
Metadata for a file generated by Claude Skills or uploaded via Files API.
AnthropicApi.FilesListResponse - Record Class in org.springframework.ai.anthropic.api
Paginated list of files response from the Files API.
AnthropicApi.MessageDeltaEvent - Record Class in org.springframework.ai.anthropic.api
Message delta event.
AnthropicApi.MessageDeltaEvent.MessageDelta - Record Class in org.springframework.ai.anthropic.api
 
AnthropicApi.MessageDeltaEvent.MessageDeltaUsage - Record Class in org.springframework.ai.anthropic.api
Message delta usage.
AnthropicApi.MessageStartEvent - Record Class in org.springframework.ai.anthropic.api
Message start event.
AnthropicApi.MessageStopEvent - Record Class in org.springframework.ai.anthropic.api
Message stop event.
AnthropicApi.PingEvent - Record Class in org.springframework.ai.anthropic.api
Ping event.
AnthropicApi.Role - Enum Class in org.springframework.ai.anthropic.api
The role of the author of this message.
AnthropicApi.Skill - Record Class in org.springframework.ai.anthropic.api
Represents a Claude Skill - either pre-built Anthropic skill or custom skill.
AnthropicApi.Skill.SkillBuilder - Class in org.springframework.ai.anthropic.api
 
AnthropicApi.SkillContainer - Record Class in org.springframework.ai.anthropic.api
Container for Claude Skills in a chat completion request.
AnthropicApi.SkillContainer.SkillContainerBuilder - Class in org.springframework.ai.anthropic.api
 
AnthropicApi.SkillType - Enum Class in org.springframework.ai.anthropic.api
Types of Claude Skills.
AnthropicApi.StreamEvent - Interface in org.springframework.ai.anthropic.api
 
AnthropicApi.ThinkingType - Enum Class in org.springframework.ai.anthropic.api
The thinking type.
AnthropicApi.Tool - Record Class in org.springframework.ai.anthropic.api
Tool description.
AnthropicApi.ToolChoice - Interface in org.springframework.ai.anthropic.api
Base interface for tool choice options.
AnthropicApi.ToolChoiceAny - Record Class in org.springframework.ai.anthropic.api
Any tool choice - the model will use any available tools.
AnthropicApi.ToolChoiceAuto - Record Class in org.springframework.ai.anthropic.api
Auto tool choice - the model will automatically decide whether to use tools.
AnthropicApi.ToolChoiceNone - Record Class in org.springframework.ai.anthropic.api
None tool choice - the model will not be allowed to use tools.
AnthropicApi.ToolChoiceTool - Record Class in org.springframework.ai.anthropic.api
Tool choice - the model will use the specified tool.
AnthropicApi.ToolUseAggregationEvent - Class in org.springframework.ai.anthropic.api
Special event used to aggregate multiple tool use events into a single event with list of aggregated ContentBlockToolUse.
AnthropicApi.Usage - Record Class in org.springframework.ai.anthropic.api
Usage statistics.
anthropicBetaFeatures(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
AnthropicCacheOptions - Class in org.springframework.ai.anthropic.api
Anthropic cache options for configuring prompt caching behavior.
AnthropicCacheOptions() - Constructor for class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
AnthropicCacheOptions.Builder - Class in org.springframework.ai.anthropic.api
 
AnthropicCacheStrategy - Enum Class in org.springframework.ai.anthropic.api
Defines the caching strategy for Anthropic prompt caching.
AnthropicCacheTtl - Enum Class in org.springframework.ai.anthropic.api
Anthropic cache TTL (time-to-live) options for specifying how long cached prompts See the Anthropic documentation for more details: Anthropic Prompt Caching
AnthropicCacheType - Enum Class in org.springframework.ai.anthropic.api
Cache types supported by Anthropic's prompt caching feature.
AnthropicChatModel - Class in org.springframework.ai.anthropic
The ChatModel implementation for the Anthropic service.
AnthropicChatModel(AnthropicApi, AnthropicChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
 
AnthropicChatModel(AnthropicApi, AnthropicChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry, ToolExecutionEligibilityPredicate) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
 
AnthropicChatModel.Builder - Class in org.springframework.ai.anthropic
 
AnthropicChatOptions - Class in org.springframework.ai.anthropic
The options to be used when sending a chat request to the Anthropic API.
AnthropicChatOptions() - Constructor for class org.springframework.ai.anthropic.AnthropicChatOptions
 
AnthropicChatOptions.Builder - Class in org.springframework.ai.anthropic
 
AnthropicMessage(List, AnthropicApi.Role) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicMessage
Creates an instance of a AnthropicMessage record class.
AnthropicRateLimit - Class in org.springframework.ai.anthropic.metadata
RateLimit implementation for OpenAI.
AnthropicRateLimit(Long, Long, Duration, Long, Long, Duration) - Constructor for class org.springframework.ai.anthropic.metadata.AnthropicRateLimit
 
AnthropicRuntimeHints - Class in org.springframework.ai.anthropic.aot
The AnthropicRuntimeHints class is responsible for registering runtime hints for Anthropic API classes.
AnthropicRuntimeHints() - Constructor for class org.springframework.ai.anthropic.aot.AnthropicRuntimeHints
 
anthropicSkill(AnthropicApi.AnthropicSkill) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Add an Anthropic pre-built skill (xlsx, pptx, docx, pdf).
anthropicSkill(AnthropicApi.AnthropicSkill) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
anthropicSkill(AnthropicApi.AnthropicSkill, String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Add an Anthropic pre-built skill with specific version.
anthropicSkill(AnthropicApi.AnthropicSkill, String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
anthropicVersion(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
apiKey(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
apiKey(ApiKey) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
ASSISTANT - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.Role
The assistant role.

B

baseUrl(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
BASH_CODE_EXECUTION_TOOL_RESULT - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Bash code execution tool result returned in Skills responses.
BETA_CODE_EXECUTION - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
BETA_EXTENDED_CACHE_TTL - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
BETA_FILES_API - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
BETA_SKILLS - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
budgetTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.ThinkingConfig
Returns the value of the budgetTokens record component.
build() - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
 
build() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
build() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
build() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
build() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
build() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Skill.SkillBuilder
 
build() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
build() - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions.Builder
 
build() - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Build the CitationDocument.
build() - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
builder() - Static method in class org.springframework.ai.anthropic.AnthropicChatModel
 
builder() - Static method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
builder() - Static method in class org.springframework.ai.anthropic.api.AnthropicApi
 
builder() - Static method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
 
builder() - Static method in record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
 
builder() - Static method in record class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer
 
builder() - Static method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
builder() - Static method in class org.springframework.ai.anthropic.api.CitationDocument
 
Builder() - Constructor for class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
Builder() - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
Builder() - Constructor for class org.springframework.ai.anthropic.api.AnthropicCacheOptions.Builder
 
Builder() - Constructor for class org.springframework.ai.anthropic.api.CitationDocument.Builder
 

C

cacheControl() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the cacheControl record component.
cacheControl() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Returns the value of the cacheControl record component.
cacheControl() - Method in enum class org.springframework.ai.anthropic.api.AnthropicCacheType
Returns a new CacheControl instance for this cache type.
cacheControl(String) - Method in enum class org.springframework.ai.anthropic.api.AnthropicCacheType
Returns a new CacheControl instance for this cache type with the specified TTL.
cacheControl(AnthropicApi.ChatCompletionRequest.CacheControl) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
CacheControl(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl
 
CacheControl(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl
Creates an instance of a CacheControl record class.
cacheCreationInputTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
Returns the value of the cacheCreationInputTokens record component.
CacheEligibilityResolver - Class in org.springframework.ai.anthropic.api.utils
Resolves cache eligibility for messages based on the provided AnthropicCacheOptions.
CacheEligibilityResolver(AnthropicCacheStrategy, Map, Map, Function, Set) - Constructor for class org.springframework.ai.anthropic.api.utils.CacheEligibilityResolver
 
cacheOptions(AnthropicCacheOptions) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
cacheReadInputTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
Returns the value of the cacheReadInputTokens record component.
call(Prompt) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
 
CHAR_LOCATION - Enum constant in enum class org.springframework.ai.anthropic.Citation.LocationType
Character-based location for plain text documents
chatCompletionEntity(AnthropicApi.ChatCompletionRequest) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
Creates a model response for the given chat conversation.
chatCompletionEntity(AnthropicApi.ChatCompletionRequest, HttpHeaders) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
Creates a model response for the given chat conversation.
ChatCompletionRequest(String, List, Object, Integer, Double, Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
 
ChatCompletionRequest(String, List, Object, Integer, List, Double, Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
 
ChatCompletionRequest(String, List, Object, Integer, AnthropicApi.ChatCompletionRequest.Metadata, List, Boolean, Double, Double, Integer, List, AnthropicApi.ToolChoice, AnthropicApi.ChatCompletionRequest.ThinkingConfig, AnthropicApi.ChatCompletionRequest.OutputFormat, AnthropicApi.SkillContainer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Creates an instance of a ChatCompletionRequest record class.
ChatCompletionResponse(String, String, AnthropicApi.Role, List, String, String, String, AnthropicApi.Usage, AnthropicApi.ChatCompletionResponse.Container) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Creates an instance of a ChatCompletionResponse record class.
ChatCompletionResponseBuilder() - Constructor for class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
chatCompletionStream(AnthropicApi.ChatCompletionRequest) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
Creates a streaming chat response for the given chat conversation.
chatCompletionStream(AnthropicApi.ChatCompletionRequest, HttpHeaders) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
Creates a streaming chat response for the given chat conversation.
Citation - Class in org.springframework.ai.anthropic
Represents a citation reference in a Claude response.
Citation.LocationType - Enum Class in org.springframework.ai.anthropic
Types of citation locations based on document format.
CitationDocument - Class in org.springframework.ai.anthropic.api
Builder class for creating citation-enabled documents.
CitationDocument.Builder - Class in org.springframework.ai.anthropic.api
Builder class for CitationDocument.
CitationDocument.DocumentType - Enum Class in org.springframework.ai.anthropic.api
Document types supported by Anthropic Citations API.
citationDocuments(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Set citation documents for the request.
citationDocuments(CitationDocument...) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Set citation documents from variable arguments.
CitationResponse(String, String, Integer, String, Integer, Integer, Integer, Integer, Integer, Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Creates an instance of a CitationResponse record class.
citations() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the citations record component.
CitationsConfig(Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.CitationsConfig
Creates an instance of a CitationsConfig record class.
citationsEnabled(boolean) - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Enable or disable citations for this document.
Citation Types - Section in class org.springframework.ai.anthropic.Citation
 
citedText() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the citedText record component.
CLAUDE_3_5_HAIKU - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The CLAUDE 3.5 HAIKU
CLAUDE_3_5_SONNET - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The claude-3-5-sonnet-latest model.(Deprecated on October 28, 2025)
CLAUDE_3_7_SONNET - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The claude-3-7-sonnet-latest model.
CLAUDE_3_HAIKU - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The CLAUDE_3_HAIKU
CLAUDE_3_OPUS - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The CLAUDE_3_OPUS
CLAUDE_3_SONNET - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The CLAUDE_3_SONNET (Deprecated.
CLAUDE_HAIKU_4_5 - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The claude-haiku-4-5 model.
CLAUDE_OPUS_4_0 - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The claude-opus-4-0 model.
CLAUDE_OPUS_4_1 - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The claude-opus-4-1 model.
CLAUDE_OPUS_4_5 - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The claude-opus-4-5 model.
CLAUDE_SONNET_4_0 - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The claude-sonnet-4-0 model.
CLAUDE_SONNET_4_5 - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
The claude-sonnet-4-5 model.
CODE_EXECUTION_TOOL_TYPE - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
completionsPath(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
container() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the container record component.
container() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the container record component.
container(AnthropicApi.SkillContainer) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
Container(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse.Container
Creates an instance of a Container record class.
content() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicMessage
Returns the value of the content record component.
content() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the content record component.
content() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the content record component.
content() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Returns the value of the content record component.
content(Object) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
CONTENT_BLOCK_DELTA - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Content block delta event.
CONTENT_BLOCK_LOCATION - Enum constant in enum class org.springframework.ai.anthropic.Citation.LocationType
Block-based location for custom content documents
CONTENT_BLOCK_START - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Content block start event.
CONTENT_BLOCK_STOP - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
A final content block stop event.
contentBlock() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
Returns the value of the contentBlock record component.
ContentBlock(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Create content block
ContentBlock(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Create content block
ContentBlock(String, AnthropicApi.ChatCompletionRequest.CacheControl) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
 
ContentBlock(AnthropicApi.ContentBlock.Source) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Create content block
ContentBlock(AnthropicApi.ContentBlock.Source, String, String, boolean, AnthropicApi.ChatCompletionRequest.CacheControl) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Create a document ContentBlock with citations and optional caching.
ContentBlock(AnthropicApi.ContentBlock.Type, String, Object) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Create content block
ContentBlock(AnthropicApi.ContentBlock.Type, String, String, Map) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Create content block
ContentBlock(AnthropicApi.ContentBlock.Type, AnthropicApi.ContentBlock.Source) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Create content block
ContentBlock(AnthropicApi.ContentBlock.Type, AnthropicApi.ContentBlock.Source, String, Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Create content block
ContentBlock(AnthropicApi.ContentBlock.Type, AnthropicApi.ContentBlock.Source, String, Integer, String, String, Map, String, Object, String, String, String, AnthropicApi.ChatCompletionRequest.CacheControl, String, String, Object, String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Creates an instance of a ContentBlock record class.
ContentBlockBuilder(AnthropicApi.ContentBlock) - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
ContentBlockDeltaEvent(AnthropicApi.EventType, Integer, AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaBody) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
Creates an instance of a ContentBlockDeltaEvent record class.
ContentBlockDeltaJson(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson
Creates an instance of a ContentBlockDeltaJson record class.
ContentBlockDeltaSignature(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaSignature
Creates an instance of a ContentBlockDeltaSignature record class.
ContentBlockDeltaText(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
Creates an instance of a ContentBlockDeltaText record class.
ContentBlockDeltaThinking(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaThinking
Creates an instance of a ContentBlockDeltaThinking record class.
ContentBlockStartEvent(AnthropicApi.EventType, Integer, AnthropicApi.ContentBlockStartEvent.ContentBlockBody) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
Creates an instance of a ContentBlockStartEvent record class.
ContentBlockStopEvent(AnthropicApi.EventType, Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
Creates an instance of a ContentBlockStopEvent record class.
ContentBlockText(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockText
Creates an instance of a ContentBlockText record class.
ContentBlockThinking(String, String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockThinking
Creates an instance of a ContentBlockThinking record class.
ContentBlockToolUse(String, String, String, Map) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
Creates an instance of a ContentBlockToolUse record class.
contentLengthFunction(Function) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions.Builder
 
context() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the context record component.
context(String) - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Set the document context (optional, not included in citations).
CONVERSATION_HISTORY - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicCacheStrategy
Cache the entire conversation history up to (but not including) the current user question.
copy() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
createdAt() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Returns the value of the createdAt record component.
CUSTOM - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.SkillType
Custom skills uploaded to the workspace.
CUSTOM_CONTENT - Enum constant in enum class org.springframework.ai.anthropic.api.CitationDocument.DocumentType
Custom content with user-defined blocks and block-based citations.
customContent(String...) - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Create a custom content document from text blocks.
customContent(List) - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Create a custom content document with user-defined blocks.
customSkill(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Add a custom skill by ID.
customSkill(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
customSkill(String, String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Add a custom skill with specific version.
customSkill(String, String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 

D

data() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the data record component.
data() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Returns the value of the data record component.
data() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FilesListResponse
Returns the value of the data record component.
data(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
DEFAULT_ANTHROPIC_BETA_VERSION - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
DEFAULT_ANTHROPIC_VERSION - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
DEFAULT_BASE_URL - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
DEFAULT_MAX_TOKENS - Static variable in class org.springframework.ai.anthropic.AnthropicChatModel
 
DEFAULT_MESSAGE_COMPLETIONS_PATH - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
DEFAULT_MODEL_NAME - Static variable in class org.springframework.ai.anthropic.AnthropicChatModel
 
defaultOptions(AnthropicChatOptions) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
 
deleteFile(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
Delete a file.
delta() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
Returns the value of the delta record component.
delta() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
Returns the value of the delta record component.
description() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Returns the value of the description record component.
DISABLED - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ThinkingType
Disabled thinking type.
DISABLED - Static variable in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
disableParallelToolUse() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAny
Returns the value of the disableParallelToolUse record component.
disableParallelToolUse() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAuto
Returns the value of the disableParallelToolUse record component.
disableParallelToolUse() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Returns the value of the disableParallelToolUse record component.
DOCUMENT - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Document message.
documentIndex() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the documentIndex record component.
documentTitle() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the documentTitle record component.
DOCX - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
Word document generation.
downloadAllFiles(ChatResponse, AnthropicApi, Path) - Static method in class org.springframework.ai.anthropic.SkillsResponseHelper
Download all files from a Skills response to a target directory.
downloadFile(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
Download file content as byte array.

E

enabled() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationsConfig
Returns the value of the enabled record component.
ENABLED - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ThinkingType
Enabled thinking type.
endBlockIndex() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the endBlockIndex record component.
endCharIndex() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the endCharIndex record component.
endPageNumber() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the endPageNumber record component.
EPHEMERAL - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicCacheType
Ephemeral cache with 5-minute lifetime, refreshed on each use.
equals(Object) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicMessage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.Metadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.OutputFormat
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.ThinkingConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse.Container
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationsConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaSignature
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaThinking
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockText
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockThinking
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FilesListResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDelta
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDeltaUsage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStopEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.PingEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAny
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAuto
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceNone
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
Indicates whether some other object is "equal to" this one.
error() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent
Returns the value of the error record component.
Error(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
Creates an instance of a Error record class.
ERROR - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Error event.
ErrorEvent(AnthropicApi.EventType, AnthropicApi.ErrorEvent.Error) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent
Creates an instance of a ErrorEvent record class.
eventToChatCompletionResponse(AnthropicApi.StreamEvent, AtomicReference) - Method in class org.springframework.ai.anthropic.api.StreamHelper
Converts a raw AnthropicApi.StreamEvent potentially containing tool use aggregates or other block types (text, thinking) into a AnthropicApi.ChatCompletionResponse chunk.
Example Usage - Section in class org.springframework.ai.anthropic.Citation
 
expiresAt() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Returns the value of the expiresAt record component.
extractContainerId(ChatResponse) - Static method in class org.springframework.ai.anthropic.SkillsResponseHelper
Extract container ID from a chat response for multi-turn conversation reuse.
extractFileIds(ChatResponse) - Static method in class org.springframework.ai.anthropic.SkillsResponseHelper
Extract all file IDs from a chat response.

F

FILE - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
File content block representing a file generated by Skills.
fileId() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the fileId record component.
FileMetadata(String, String, Long, String, String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Creates an instance of a FileMetadata record class.
filename() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the filename record component.
filename() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Returns the value of the filename record component.
FILES_PATH - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 
FilesListResponse(List, Boolean, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.FilesListResponse
Creates an instance of a FilesListResponse record class.
FIVE_MINUTES - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicCacheTtl
 
from(AnthropicApi.ChatCompletionRequest) - Static method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
 
from(AnthropicApi.ContentBlock) - Static method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
 
from(AnthropicCacheOptions) - Static method in class org.springframework.ai.anthropic.api.utils.CacheEligibilityResolver
 
fromOptions(AnthropicChatOptions) - Static method in class org.springframework.ai.anthropic.AnthropicChatOptions
 

G

getCacheOptions() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getCitationDocuments() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getCitedText() - Method in class org.springframework.ai.anthropic.Citation
 
getContentLengthFunction() - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
getDefaultOptions() - Method in class org.springframework.ai.anthropic.AnthropicChatModel
 
getDescription() - Method in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
 
getDocumentIndex() - Method in class org.springframework.ai.anthropic.Citation
 
getDocumentTitle() - Method in class org.springframework.ai.anthropic.Citation
 
getEndBlockIndex() - Method in class org.springframework.ai.anthropic.Citation
 
getEndCharIndex() - Method in class org.springframework.ai.anthropic.Citation
 
getEndPageNumber() - Method in class org.springframework.ai.anthropic.Citation
 
getFileMetadata(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
Get metadata for a specific file generated by Skills or uploaded via Files API.
getFrequencyPenalty() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getHttpHeaders() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getInternalToolExecutionEnabled() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getLocationDescription() - Method in class org.springframework.ai.anthropic.Citation
Get a human-readable location description.
getMaxTokens() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getMessageTypeMinContentLengths() - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
getMessageTypeTtl() - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
getMetadata() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getModel() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getName() - Method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
Get the name of the model.
getOutputFormat() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getOutputSchema() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getPresencePenalty() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getRequestsLimit() - Method in class org.springframework.ai.anthropic.metadata.AnthropicRateLimit
 
getRequestsRemaining() - Method in class org.springframework.ai.anthropic.metadata.AnthropicRateLimit
 
getRequestsReset() - Method in class org.springframework.ai.anthropic.metadata.AnthropicRateLimit
 
getSkillContainer() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getSkillId() - Method in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
 
getStartBlockIndex() - Method in class org.springframework.ai.anthropic.Citation
 
getStartCharIndex() - Method in class org.springframework.ai.anthropic.Citation
 
getStartPageNumber() - Method in class org.springframework.ai.anthropic.Citation
 
getStopSequences() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getStrategy() - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
getTemperature() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getThinking() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getTokensLimit() - Method in class org.springframework.ai.anthropic.metadata.AnthropicRateLimit
 
getTokensRemaining() - Method in class org.springframework.ai.anthropic.metadata.AnthropicRateLimit
 
getTokensReset() - Method in class org.springframework.ai.anthropic.metadata.AnthropicRateLimit
 
getToolCallbacks() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getToolChoice() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getToolContentBlocks() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ToolUseAggregationEvent
Get tool content blocks.
getToolContext() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getToolNames() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getTopK() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getTopP() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
getType() - Method in class org.springframework.ai.anthropic.Citation
 
getValue() - Method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
Get the value of the model.
getValue() - Method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Get the value of the type.
getValue() - Method in enum class org.springframework.ai.anthropic.api.AnthropicApi.SkillType
 
getValue() - Method in enum class org.springframework.ai.anthropic.api.AnthropicCacheTtl
 

H

hashCode() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicMessage
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.Metadata
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.OutputFormat
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.ThinkingConfig
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse.Container
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationsConfig
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaSignature
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaThinking
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockText
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockThinking
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FilesListResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDelta
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDeltaUsage
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStopEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.PingEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAny
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAuto
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceNone
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
Returns a hash code value for this object.
hasMore() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FilesListResponse
Returns the value of the hasMore record component.
httpHeaders(Map) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 

I

id() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse.Container
Returns the value of the id record component.
id() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the id record component.
id() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the id record component.
id() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
Returns the value of the id record component.
id() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Returns the value of the id record component.
id(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
IMAGE - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Image message.
index() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the index record component.
index() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
Returns the value of the index record component.
index() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
Returns the value of the index record component.
index() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
Returns the value of the index record component.
index(Integer) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
input() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the input record component.
input() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
Returns the value of the input record component.
input(Map) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
INPUT_JSON_DELTA - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Tool use input partial JSON delta streaming.
inputSchema() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Returns the value of the inputSchema record component.
inputTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
Returns the value of the inputTokens record component.
internalCall(Prompt, ChatResponse) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
 
internalStream(Prompt, ChatResponse) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
 
internalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
isCachingEnabled() - Method in class org.springframework.ai.anthropic.api.utils.CacheEligibilityResolver
 
isCitationsEnabled() - Method in class org.springframework.ai.anthropic.api.CitationDocument
 
isEmpty() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ToolUseAggregationEvent
Check if the event is empty.
isToolUseFinish(AnthropicApi.StreamEvent) - Method in class org.springframework.ai.anthropic.api.StreamHelper
 
isToolUseStart(AnthropicApi.StreamEvent) - Method in class org.springframework.ai.anthropic.api.StreamHelper
 

L

listFiles(Integer, String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
List all files with optional pagination.

M

maxTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the maxTokens record component.
maxTokens(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
maxTokens(Integer) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
mediaType() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Returns the value of the mediaType record component.
mergeToolUseEvents(AnthropicApi.StreamEvent, AnthropicApi.StreamEvent) - Method in class org.springframework.ai.anthropic.api.StreamHelper
Merge the tool‑use related streaming events into one aggregate event so that the upper layers see a single ContentBlock with the full JSON input.
message() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
Returns the value of the message record component.
message() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
Returns the value of the message record component.
MESSAGE_DELTA - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Message delta event, indicating top-level changes to the final Message object.
MESSAGE_START - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Message start event.
MESSAGE_STOP - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
A final message stop event.
MessageDelta(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDelta
Creates an instance of a MessageDelta record class.
MessageDeltaEvent(AnthropicApi.EventType, AnthropicApi.MessageDeltaEvent.MessageDelta, AnthropicApi.MessageDeltaEvent.MessageDeltaUsage) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
Creates an instance of a MessageDeltaEvent record class.
MessageDeltaUsage(Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDeltaUsage
Creates an instance of a MessageDeltaUsage record class.
messages() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the messages record component.
messages(List) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
MessageStartEvent(AnthropicApi.EventType, AnthropicApi.ChatCompletionResponse) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
Creates an instance of a MessageStartEvent record class.
MessageStopEvent(AnthropicApi.EventType) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStopEvent
Creates an instance of a MessageStopEvent record class.
messageTypeMinContentLength(MessageType, Integer) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions.Builder
 
messageTypeMinContentLengths(Map) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions.Builder
 
messageTypeTtl(Map) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions.Builder
 
messageTypeTtl(MessageType, AnthropicCacheTtl) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions.Builder
 
metadata() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the metadata record component.
metadata(AnthropicApi.ChatCompletionRequest.Metadata) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
metadata(AnthropicApi.ChatCompletionRequest.Metadata) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
Metadata(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.Metadata
Creates an instance of a Metadata record class.
mimeType() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Returns the value of the mimeType record component.
model() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the model record component.
model(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
model(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
model(AnthropicApi.ChatModel) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
model(AnthropicApi.ChatModel) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 

N

name() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the name record component.
name() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
Returns the value of the name record component.
name() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Returns the value of the name record component.
name() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Returns the value of the name record component.
name(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
nextPage() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FilesListResponse
Returns the value of the nextPage record component.
NONE - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicCacheStrategy
No caching (default behavior).

O

observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
 
ofCharLocation(String, int, String, int, int) - Static method in class org.springframework.ai.anthropic.Citation
Create a character location citation for plain text documents.
ofContentBlockLocation(String, int, String, int, int) - Static method in class org.springframework.ai.anthropic.Citation
Create a content block location citation for custom content documents.
ofPageLocation(String, int, String, int, int) - Static method in class org.springframework.ai.anthropic.Citation
Create a page location citation for PDF documents.
ONE_HOUR - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicCacheTtl
 
org.springframework.ai.anthropic - package org.springframework.ai.anthropic
 
org.springframework.ai.anthropic.aot - package org.springframework.ai.anthropic.aot
 
org.springframework.ai.anthropic.api - package org.springframework.ai.anthropic.api
 
org.springframework.ai.anthropic.api.utils - package org.springframework.ai.anthropic.api.utils
 
org.springframework.ai.anthropic.metadata - package org.springframework.ai.anthropic.metadata
 
outputFormat() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the outputFormat record component.
outputFormat(AnthropicApi.ChatCompletionRequest.OutputFormat) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
outputFormat(AnthropicApi.ChatCompletionRequest.OutputFormat) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
OutputFormat(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.OutputFormat
 
OutputFormat(String, Map) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.OutputFormat
Creates an instance of a OutputFormat record class.
outputSchema(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
outputTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDeltaUsage
Returns the value of the outputTokens record component.
outputTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
Returns the value of the outputTokens record component.

P

PAGE_LOCATION - Enum constant in enum class org.springframework.ai.anthropic.Citation.LocationType
Page-based location for PDF documents
partialJson() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson
Returns the value of the partialJson record component.
pdf(byte[]) - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Create a PDF document from byte array.
PDF - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
PDF document creation.
PDF - Enum constant in enum class org.springframework.ai.anthropic.api.CitationDocument.DocumentType
PDF document with page-based citations.
pdfFile(String) - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Create a PDF document from file path.
PING - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Ping event.
PingEvent(AnthropicApi.EventType) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.PingEvent
Creates an instance of a PingEvent record class.
PLAIN_TEXT - Enum constant in enum class org.springframework.ai.anthropic.api.CitationDocument.DocumentType
Plain text document with character-based citations.
plainText(String) - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Create a plain text document.
PPTX - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
PowerPoint presentation creation.
PROVIDER_NAME - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
 

R

REDACTED_THINKING - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Redacted Thinking message.
registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.ai.anthropic.aot.AnthropicRuntimeHints
 
resolve(MessageType, String) - Method in class org.springframework.ai.anthropic.api.utils.CacheEligibilityResolver
 
resolveToolCacheControl() - Method in class org.springframework.ai.anthropic.api.utils.CacheEligibilityResolver
 
responseErrorHandler(ResponseErrorHandler) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
restClientBuilder(RestClient.Builder) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
retryTemplate - Variable in class org.springframework.ai.anthropic.AnthropicChatModel
The retry template used to retry the OpenAI API calls.
retryTemplate(RetryTemplate) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
 
role() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicMessage
Returns the value of the role record component.
role() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the role record component.

S

schema() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.OutputFormat
Returns the value of the schema record component.
SERVER_TOOL_USE - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Server-side tool use returned in Skills responses.
setCacheOptions(AnthropicCacheOptions) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setCitationDocuments(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setContentLengthFunction(Function) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
setHttpHeaders(Map) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setInternalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setMaxTokens(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setMessageTypeMinContentLengths(Map) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
setMessageTypeTtl(Map) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
setMetadata(AnthropicApi.ChatCompletionRequest.Metadata) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setModel(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
Use the provided convention for reporting observation data
setOutputFormat(AnthropicApi.ChatCompletionRequest.OutputFormat) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setOutputSchema(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setSkillContainer(AnthropicApi.SkillContainer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setStopSequences(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setStrategy(AnthropicCacheStrategy) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
setTemperature(Double) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setThinking(AnthropicApi.ChatCompletionRequest.ThinkingConfig) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setToolCallbacks(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setToolChoice(AnthropicApi.ToolChoice) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setToolContext(Map) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setToolNames(Set) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setTopK(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
setTopP(Double) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
 
signature() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the signature record component.
signature() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaSignature
Returns the value of the signature record component.
signature() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockThinking
Returns the value of the signature record component.
signature(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
SIGNATURE_DELTA - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
For thinking content, a special signature_delta event is sent just before the content_block_stop event.
size() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Returns the value of the size record component.
skill(AnthropicApi.Skill) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Add a single skill to the request.
skill(AnthropicApi.Skill) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
skill(AnthropicApi.SkillType, String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
skill(AnthropicApi.SkillType, String, String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
Skill(AnthropicApi.SkillType, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
Create a Skill with default "latest" version.
Skill(AnthropicApi.SkillType, String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
Creates an instance of a Skill record class.
SkillBuilder() - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi.Skill.SkillBuilder
 
skillContainer(AnthropicApi.SkillContainer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
Set the Skills container for this request.
SkillContainer(List) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer
Creates an instance of a SkillContainer record class.
SkillContainerBuilder() - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
skillId() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
Returns the value of the skillId record component.
skillId(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Skill.SkillBuilder
 
skills() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer
Returns the value of the skills record component.
skills(List) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
skills(List) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer.SkillContainerBuilder
 
SkillsResponseHelper - Class in org.springframework.ai.anthropic
Helper utilities for working with Claude Skills responses and files.
source() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the source record component.
source(AnthropicApi.ContentBlock.Source) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
Source(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
 
Source(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Create source
Source(String, String, String, String, List) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Creates an instance of a Source record class.
Source(List) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
 
startBlockIndex() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the startBlockIndex record component.
startCharIndex() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the startCharIndex record component.
startPageNumber() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the startPageNumber record component.
stopReason() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the stopReason record component.
stopReason() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDelta
Returns the value of the stopReason record component.
stopSequence() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the stopSequence record component.
stopSequence() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDelta
Returns the value of the stopSequence record component.
stopSequences() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the stopSequences record component.
stopSequences(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
stopSequences(List) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
strategy(AnthropicCacheStrategy) - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions.Builder
 
stream() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the stream record component.
stream(Boolean) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
stream(Prompt) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
 
StreamHelper - Class in org.springframework.ai.anthropic.api
Helper class to support streaming function calling and thinking events.
StreamHelper() - Constructor for class org.springframework.ai.anthropic.api.StreamHelper
 
StreamHelper.ChatCompletionResponseBuilder - Class in org.springframework.ai.anthropic.api
system() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the system record component.
system(Object) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
SYSTEM_AND_TOOLS - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicCacheStrategy
Cache system instructions and tool definitions.
SYSTEM_ONLY - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicCacheStrategy
Cache system instructions only.

T

temperature() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the temperature record component.
temperature(Double) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
temperature(Double) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
text() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the text record component.
text() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
Returns the value of the text record component.
text() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockText
Returns the value of the text record component.
text(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
TEXT - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Text message.
TEXT_DELTA - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Text delta message.
TEXT_EDITOR_CODE_EXECUTION_TOOL_RESULT - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Text editor code execution tool result returned in Skills responses.
thinking() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the thinking record component.
thinking() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the thinking record component.
thinking() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaThinking
Returns the value of the thinking record component.
thinking() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockThinking
Returns the value of the thinking record component.
thinking(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
thinking(AnthropicApi.ChatCompletionRequest.ThinkingConfig) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
thinking(AnthropicApi.ChatCompletionRequest.ThinkingConfig) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
thinking(AnthropicApi.ThinkingType, Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
thinking(AnthropicApi.ThinkingType, Integer) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
THINKING - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Thinking message.
THINKING_DELTA - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
When using extended thinking with streaming enabled, you'll receive thinking content via thinking_delta events.
ThinkingConfig(AnthropicApi.ThinkingType, Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.ThinkingConfig
Creates an instance of a ThinkingConfig record class.
title() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the title record component.
title(String) - Method in class org.springframework.ai.anthropic.api.CitationDocument.Builder
Set the document title (optional, not included in citations).
toContentBlock() - Method in class org.springframework.ai.anthropic.api.CitationDocument
Convert this CitationDocument to a ContentBlock for API usage.
Tool(String, String, String, Map) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Constructor for backward compatibility without cache control.
Tool(String, String, String, Map, AnthropicApi.ChatCompletionRequest.CacheControl) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Creates an instance of a Tool record class.
Tool(String, String, Map) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Constructor for backward compatibility without type or cache control.
TOOL_RESULT - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Send tool result back to LLM.
TOOL_USE - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Tool request
TOOL_USE_AGGREGATE - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Artificially created event to aggregate tool use events.
toolCallbacks(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
toolCallbacks(ToolCallback...) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
 
toolChoice() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the toolChoice record component.
toolChoice(AnthropicApi.ToolChoice) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
toolChoice(AnthropicApi.ToolChoice) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
ToolChoiceAny() - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAny
Create an any tool choice with default settings.
ToolChoiceAny(Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAny
Create an any tool choice with specific parallel tool use setting.
ToolChoiceAny(String, Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAny
Creates an instance of a ToolChoiceAny record class.
ToolChoiceAuto() - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAuto
Create an auto tool choice with default settings.
ToolChoiceAuto(Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAuto
Create an auto tool choice with specific parallel tool use setting.
ToolChoiceAuto(String, Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAuto
Creates an instance of a ToolChoiceAuto record class.
ToolChoiceNone() - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceNone
Create a none tool choice.
ToolChoiceNone(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceNone
Creates an instance of a ToolChoiceNone record class.
ToolChoiceTool(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Create a tool choice for a specific tool.
ToolChoiceTool(String, Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Create a tool choice for a specific tool with parallel tool use setting.
ToolChoiceTool(String, String, Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Creates an instance of a ToolChoiceTool record class.
toolContext(Map) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
 
toolNames(String...) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
toolNames(Set) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
tools() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the tools record component.
tools(List) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
TOOLS_ONLY - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicCacheStrategy
Cache tool definitions only.
ToolUseAggregationEvent() - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi.ToolUseAggregationEvent
 
toolUseId() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the toolUseId record component.
toolUseId(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
topK() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the topK record component.
topK(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
topK(Integer) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
topP() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns the value of the topP record component.
topP(Double) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
 
topP(Double) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
 
toSkill() - Method in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
Convert to a Skill record with latest version.
toSkill(String) - Method in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
Convert to a Skill record with specific version.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicMessage
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.Metadata
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.OutputFormat
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.ThinkingConfig
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse.Container
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationsConfig
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaSignature
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaThinking
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockText
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockThinking
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FileMetadata
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.FilesListResponse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDelta
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDeltaUsage
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStopEvent
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.PingEvent
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.SkillContainer
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAny
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAuto
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceNone
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Returns a string representation of this record class.
toString() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ToolUseAggregationEvent
 
toString() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
Returns a string representation of this record class.
toString() - Method in class org.springframework.ai.anthropic.api.AnthropicCacheOptions
 
toString() - Method in class org.springframework.ai.anthropic.Citation
 
toString() - Method in class org.springframework.ai.anthropic.metadata.AnthropicRateLimit
 
ttl() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl
Returns the value of the ttl record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.OutputFormat
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.ThinkingConfig
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.CitationResponse
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
Returns the value of the type record component.
type() - Method in interface org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaBody
 
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaSignature
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaThinking
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
Returns the value of the type record component.
type() - Method in interface org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockBody
 
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockText
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockThinking
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStopEvent
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.PingEvent
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
Returns the value of the type record component.
type() - Method in interface org.springframework.ai.anthropic.api.AnthropicApi.StreamEvent
 
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
Returns the value of the type record component.
type() - Method in interface org.springframework.ai.anthropic.api.AnthropicApi.ToolChoice
 
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAny
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceAuto
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceNone
Returns the value of the type record component.
type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ToolChoiceTool
Returns the value of the type record component.
type() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ToolUseAggregationEvent
 
type(AnthropicApi.ContentBlock.Type) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.ContentBlockBuilder
 
type(AnthropicApi.SkillType) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Skill.SkillBuilder
 

U

url() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
Returns the value of the url record component.
usage() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
Returns the value of the usage record component.
usage() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
Returns the value of the usage record component.
Usage(Integer, Integer, Integer, Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
Creates an instance of a Usage record class.
Usage Examples - Section in class org.springframework.ai.anthropic.api.CitationDocument
 
useCacheBlock() - Method in class org.springframework.ai.anthropic.api.utils.CacheEligibilityResolver
 
USER - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.Role
The user role.
userId() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.Metadata
Returns the value of the userId record component.

V

validateCitationConsistency() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
Validate that all citation documents have consistent citation settings.
value - Variable in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
 
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.Role
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.SkillType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ThinkingType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicCacheStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicCacheTtl
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.AnthropicCacheType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.api.CitationDocument.DocumentType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.anthropic.Citation.LocationType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.Role
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.SkillType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicApi.ThinkingType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicCacheStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicCacheTtl
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.AnthropicCacheType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.api.CitationDocument.DocumentType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.anthropic.Citation.LocationType
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Skill
Returns the value of the version record component.
version(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Skill.SkillBuilder
 

W

webClientBuilder(WebClient.Builder) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.Builder
 
withContent(List) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
withId(String) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
withModel(String) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
withRole(AnthropicApi.Role) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
withStopReason(String) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
withStopSequence(String) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
withType(String) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 
withUsage(AnthropicApi.Usage) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
 

X

XLSX - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicSkill
Excel spreadsheet generation and manipulation.
A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values