Index
All Classes and Interfaces|All Packages
A
- AbstractAnthropicOptions - Class in org.springframework.ai.anthropic
-
Base class for common Anthropic SDK configuration options, extended by
AnthropicChatOptions. - AbstractAnthropicOptions() - Constructor for class org.springframework.ai.anthropic.AbstractAnthropicOptions
- AbstractBuilder() - Constructor for class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- addCitationDocument(AnthropicCitationDocument) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- ANTHROPIC - Enum constant in enum class org.springframework.ai.anthropic.AnthropicSkillType
-
Pre-built skills provided by Anthropic (xlsx, pptx, docx, pdf).
- AnthropicCacheOptions - Class in org.springframework.ai.anthropic
-
Anthropic cache options for configuring prompt caching behavior with the Anthropic Java SDK.
- AnthropicCacheOptions() - Constructor for class org.springframework.ai.anthropic.AnthropicCacheOptions
- AnthropicCacheOptions.Builder - Class in org.springframework.ai.anthropic
- AnthropicCacheStrategy - Enum Class in org.springframework.ai.anthropic
-
Defines the caching strategy for Anthropic prompt caching.
- AnthropicCacheTtl - Enum Class in org.springframework.ai.anthropic
-
Anthropic cache TTL (time-to-live) options for specifying how long cached prompts remain valid.
- AnthropicChatModel - Class in org.springframework.ai.anthropic
- AnthropicChatModel.Builder - Class in org.springframework.ai.anthropic
-
Builder for creating
AnthropicChatModelinstances. - AnthropicChatOptions - Class in org.springframework.ai.anthropic
-
Chat options for
AnthropicChatModel. - AnthropicChatOptions() - Constructor for class org.springframework.ai.anthropic.AnthropicChatOptions
- AnthropicChatOptions.AbstractBuilder<B> - Class in org.springframework.ai.anthropic
- AnthropicChatOptions.Builder - Class in org.springframework.ai.anthropic
-
Builder for creating
AnthropicChatOptionsinstances. - AnthropicCitationDocument - Class in org.springframework.ai.anthropic
-
Builder class for creating citation-enabled documents using the Anthropic Java SDK.
- AnthropicCitationDocument.Builder - Class in org.springframework.ai.anthropic
-
Builder class for AnthropicCitationDocument.
- AnthropicCitationDocument.DocumentType - Enum Class in org.springframework.ai.anthropic
-
Document types supported by Anthropic Citations API.
- anthropicClient(AnthropicClient) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Sets the synchronous Anthropic client.
- anthropicClientAsync(AnthropicClientAsync) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Sets the asynchronous Anthropic client.
- AnthropicSetup - Class in org.springframework.ai.anthropic
-
Factory class for creating and configuring Anthropic SDK client instances.
- AnthropicSkill - Enum Class in org.springframework.ai.anthropic
-
Enum representing the pre-built Anthropic Skills available for Claude.
- AnthropicSkillContainer - Class in org.springframework.ai.anthropic
-
Container for Claude Skills in a chat completion request.
- AnthropicSkillContainer(List) - Constructor for class org.springframework.ai.anthropic.AnthropicSkillContainer
- AnthropicSkillContainer.Builder - Class in org.springframework.ai.anthropic
- AnthropicSkillRecord - Class in org.springframework.ai.anthropic
-
Represents a Claude Skill - either pre-built Anthropic skill or custom skill.
- AnthropicSkillRecord(AnthropicSkillType, String) - Constructor for class org.springframework.ai.anthropic.AnthropicSkillRecord
-
Create a skill with default "latest" version.
- AnthropicSkillRecord(AnthropicSkillType, String, String) - Constructor for class org.springframework.ai.anthropic.AnthropicSkillRecord
-
Create a skill with a specific version.
- AnthropicSkillRecord.Builder - Class in org.springframework.ai.anthropic
- AnthropicSkillsResponseHelper - Class in org.springframework.ai.anthropic
-
Helper utilities for working with Anthropic Claude Skills responses and files.
- AnthropicSkillType - Enum Class in org.springframework.ai.anthropic
-
Enum representing the type of a Claude Skill.
- apiKey(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
B
- baseUrl(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- build() - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- build() - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Builds a new
AnthropicChatModelinstance. - build() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- build() - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
-
Build the AnthropicCitationDocument.
- build() - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
- build() - Method in class org.springframework.ai.anthropic.AnthropicSkillRecord.Builder
- builder() - Static method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- builder() - Static method in class org.springframework.ai.anthropic.AnthropicChatModel
-
Creates a new builder for
AnthropicChatModel. - builder() - Static method in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Creates a new builder for AnthropicChatOptions.
- builder() - Static method in class org.springframework.ai.anthropic.AnthropicCitationDocument
- builder() - Static method in class org.springframework.ai.anthropic.AnthropicSkillContainer
- builder() - Static method in class org.springframework.ai.anthropic.AnthropicSkillRecord
- Builder() - Constructor for class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- Builder() - Constructor for class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- Builder() - Constructor for class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
- Builder() - Constructor for class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
- Builder() - Constructor for class org.springframework.ai.anthropic.AnthropicSkillRecord.Builder
C
- CacheEligibilityResolver - Class in org.springframework.ai.anthropic
-
Resolves cache eligibility for messages based on the provided
AnthropicCacheOptions. - CacheEligibilityResolver(AnthropicCacheStrategy, Map, Map, Function, Set) - Constructor for class org.springframework.ai.anthropic.CacheEligibilityResolver
- cacheOptions(AnthropicCacheOptions) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- 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
- 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.
- citationDocuments(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- citationDocuments(AnthropicCitationDocument...) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- citationsEnabled(boolean) - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
-
Enable or disable citations for this document.
- Citation Types - Section in class org.springframework.ai.anthropic.Citation
- combineWith(ChatOptions.Builder) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- CONTENT_BLOCK_LOCATION - Enum constant in enum class org.springframework.ai.anthropic.Citation.LocationType
-
Block-based location for custom content documents
- contentLengthFunction(Function) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- context(String) - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
-
Set the document context.
- CONVERSATION_HISTORY - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCacheStrategy
-
Cache the entire conversation history up to (but not including) the current user question.
- copy() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- CUSTOM - Enum constant in enum class org.springframework.ai.anthropic.AnthropicSkillType
-
Custom skills uploaded to the workspace.
- CUSTOM_CONTENT - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCitationDocument.DocumentType
-
Custom content with user-defined blocks and block-based citations.
- customContent(String...) - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
-
Create a custom content document from text blocks.
- customHeaders(Map) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
D
- DEFAULT_MAX_TOKENS - Static variable in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Default max tokens for chat completions.
- DEFAULT_MODEL - Static variable in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Default model to use for chat completions.
- disabled() - Static method in class org.springframework.ai.anthropic.AnthropicCacheOptions
-
Returns a new disabled cache options instance with strategy
NONE. - disableParallelToolUse(Boolean) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- DOCX - Enum constant in enum class org.springframework.ai.anthropic.AnthropicSkill
-
Word document generation.
- downloadAllFiles(ChatResponse, AnthropicClient, Path) - Static method in class org.springframework.ai.anthropic.AnthropicSkillsResponseHelper
-
Download all files from a Skills response to a target directory.
E
- effort(OutputConfig.Effort) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
-
Convenience method to set the effort level for the model's response.
- equals(Object) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- equals(Object) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- extractContainerId(ChatResponse) - Static method in class org.springframework.ai.anthropic.AnthropicSkillsResponseHelper
-
Extract container ID from a chat response for multi-turn conversation reuse.
- extractFileIds(ChatResponse) - Static method in class org.springframework.ai.anthropic.AnthropicSkillsResponseHelper
-
Extract all file IDs from a chat response.
F
- FIVE_MINUTES - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCacheTtl
- from(AnthropicCacheOptions) - Static method in class org.springframework.ai.anthropic.CacheEligibilityResolver
- fromId(String) - Static method in enum class org.springframework.ai.anthropic.AnthropicSkill
-
Look up a pre-built Anthropic skill by its ID.
G
- getAnthropicClient() - Method in class org.springframework.ai.anthropic.AnthropicChatModel
-
Returns the underlying synchronous Anthropic SDK client.
- getAnthropicClientAsync() - Method in class org.springframework.ai.anthropic.AnthropicChatModel
-
Returns the underlying asynchronous Anthropic SDK client.
- getApiKey() - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- getBaseUrl() - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- 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.AnthropicCacheOptions
- getCustomHeaders() - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- getDefaultOptions() - Method in class org.springframework.ai.anthropic.AnthropicChatModel
- getDescription() - Method in enum class org.springframework.ai.anthropic.AnthropicSkill
- getDisableParallelToolUse() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- 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
- 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.
- getMaxRetries() - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- getMaxTokens() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getMessageTypeMinContentLengths() - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- getMessageTypeTtl() - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- getMetadata() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getModel() - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- getOptions() - Method in class org.springframework.ai.anthropic.AnthropicChatModel
-
Gets the chat options for this model.
- getOutputConfig() - 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
- getProxy() - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- getSdkTtl() - Method in enum class org.springframework.ai.anthropic.AnthropicCacheTtl
- getSkillContainer() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getSkillId() - Method in enum class org.springframework.ai.anthropic.AnthropicSkill
- getSkillId() - Method in class org.springframework.ai.anthropic.AnthropicSkillRecord
- getSkills() - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer
- 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.AnthropicCacheOptions
- getTemperature() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getThinking() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getTimeout() - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- getToolCallbacks() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getToolChoice() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- 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.AnthropicSkillRecord
- getType() - Method in class org.springframework.ai.anthropic.Citation
- getValue() - Method in enum class org.springframework.ai.anthropic.AnthropicSkillType
- getVersion() - Method in class org.springframework.ai.anthropic.AnthropicSkillRecord
H
- hashCode() - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- hashCode() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- httpHeaders(Map) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
I
- internalCall(Prompt, ChatResponse) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
-
Internal method to handle synchronous chat completion calls with tool execution support.
- internalStream(Prompt, ChatResponse) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
-
Internal method to handle streaming chat completion calls with tool execution support.
- isCachingEnabled() - Method in class org.springframework.ai.anthropic.CacheEligibilityResolver
- isCitationsEnabled() - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument
- isMultiBlockSystemCaching() - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
M
- maxRetries(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- messageTypeMinContentLength(MessageType, Integer) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- messageTypeMinContentLengths(Map) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- messageTypeTtl(Map) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- messageTypeTtl(MessageType, AnthropicCacheTtl) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- metadata(Metadata) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- model(Model) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- multiBlockSystemCaching(boolean) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- mutate() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
N
- NONE - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCacheStrategy
-
No caching (default behavior).
O
- observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Sets the observation registry for metrics and tracing.
- 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.AnthropicCacheTtl
- options(AnthropicChatOptions) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Sets the chat options.
- org.springframework.ai.anthropic - package org.springframework.ai.anthropic
-
Spring AI integration with Anthropic's Claude models using the official Anthropic Java SDK.
- outputConfig(OutputConfig) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
-
Sets the output configuration for controlling response format and effort.
- outputSchema(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
P
- PAGE_LOCATION - Enum constant in enum class org.springframework.ai.anthropic.Citation.LocationType
-
Page-based location for PDF documents
- pdf(byte[]) - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
-
Create a PDF document from byte array.
- PDF - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCitationDocument.DocumentType
-
PDF document with page-based citations.
- PDF - Enum constant in enum class org.springframework.ai.anthropic.AnthropicSkill
-
PDF document creation.
- pdfFile(String) - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
-
Create a PDF document from file path.
- PLAIN_TEXT - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCitationDocument.DocumentType
-
Plain text document with character-based citations.
- plainText(String) - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
-
Create a plain text document.
- PPTX - Enum constant in enum class org.springframework.ai.anthropic.AnthropicSkill
-
PowerPoint presentation creation.
- proxy(Proxy) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
R
- resolve(MessageType, String) - Method in class org.springframework.ai.anthropic.CacheEligibilityResolver
- resolveToolCacheControl() - Method in class org.springframework.ai.anthropic.CacheEligibilityResolver
S
- setApiKey(String) - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- setBaseUrl(String) - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- 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.AnthropicCacheOptions
- setCustomHeaders(Map) - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- setDisableParallelToolUse(Boolean) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setHttpHeaders(Map) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setInternalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setMaxRetries(Integer) - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- setMaxTokens(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setMessageTypeMinContentLengths(Map) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- setMessageTypeTtl(Map) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- setMetadata(Metadata) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setModel(String) - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- setMultiBlockSystemCaching(boolean) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
-
Use the provided convention for reporting observation data.
- setOutputConfig(OutputConfig) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setOutputSchema(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setProxy(Proxy) - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- setSkillContainer(AnthropicSkillContainer) - 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.AnthropicCacheOptions
- setTemperature(Double) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setThinking(ThinkingConfigParam) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setTimeout(Duration) - Method in class org.springframework.ai.anthropic.AbstractAnthropicOptions
- setToolCallbacks(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setToolChoice(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
- setupAsyncClient(String, String, Duration, Integer, Proxy, Map) - Static method in class org.springframework.ai.anthropic.AnthropicSetup
-
Creates an asynchronous Anthropic client with the specified configuration.
- setupSyncClient(String, String, Duration, Integer, Proxy, Map) - Static method in class org.springframework.ai.anthropic.AnthropicSetup
-
Creates a synchronous Anthropic client with the specified configuration.
- skill(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- skill(String) - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
-
Add a skill by its ID or name.
- skill(String, String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- skill(String, String) - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
-
Add a skill by its ID or name with a specific version.
- skill(AnthropicSkill) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- skill(AnthropicSkill) - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
-
Add a pre-built Anthropic skill using the enum.
- skill(AnthropicSkillRecord) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- skill(AnthropicSkillRecord) - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
-
Add a skill record directly.
- skill(AnthropicSkill, String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- skill(AnthropicSkill, String) - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
-
Add a pre-built Anthropic skill with a specific version.
- skillContainer(AnthropicSkillContainer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- skillId(String) - Method in class org.springframework.ai.anthropic.AnthropicSkillRecord.Builder
- skills(String...) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- skills(String...) - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
-
Add multiple skills by their IDs or names.
- skills(List) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- skills(List) - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer.Builder
-
Add multiple skills from a list of IDs or names.
- strategy(AnthropicCacheStrategy) - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions.Builder
- stream(Prompt) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
- SYSTEM_AND_TOOLS - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCacheStrategy
-
Cache system instructions and tool definitions.
- SYSTEM_ONLY - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCacheStrategy
-
Cache system instructions only.
T
- thinking(ThinkingConfigParam) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- thinkingAdaptive() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
-
Convenience method to let Claude adaptively decide whether to think.
- thinkingDisabled() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
-
Convenience method to explicitly disable thinking.
- thinkingEnabled(long) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
-
Convenience method to enable thinking with a specific budget in tokens.
- timeout(Duration) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- title(String) - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument.Builder
-
Set the document title.
- toDocumentBlockParam() - Method in class org.springframework.ai.anthropic.AnthropicCitationDocument
-
Convert this citation document to an SDK
DocumentBlockParam. - toJsonMap() - Method in class org.springframework.ai.anthropic.AnthropicSkillRecord
-
Convert to a map suitable for JSON serialization via
JsonValue.from(). - toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Sets the tool calling manager.
- toolChoice(ToolChoice) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.AbstractBuilder
- toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Sets the predicate to determine tool execution eligibility.
- TOOLS_ONLY - Enum constant in enum class org.springframework.ai.anthropic.AnthropicCacheStrategy
-
Cache tool definitions only.
- toSkill() - Method in enum class org.springframework.ai.anthropic.AnthropicSkill
-
Convert to an
AnthropicSkillRecordwith latest version. - toSkill(String) - Method in enum class org.springframework.ai.anthropic.AnthropicSkill
-
Convert to an
AnthropicSkillRecordwith specific version. - toSkillsList() - Method in class org.springframework.ai.anthropic.AnthropicSkillContainer
-
Convert to a list of maps suitable for JSON serialization via
JsonValue.from(Map.of("skills", container.toSkillsList())). - toString() - Method in class org.springframework.ai.anthropic.AnthropicCacheOptions
- toString() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- toString() - Method in class org.springframework.ai.anthropic.Citation
- type(AnthropicSkillType) - Method in class org.springframework.ai.anthropic.AnthropicSkillRecord.Builder
U
- Usage Examples - Section in class org.springframework.ai.anthropic.AnthropicCitationDocument
- useCacheBlock() - Method in class org.springframework.ai.anthropic.CacheEligibilityResolver
V
- validateCitationConsistency() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Validate that all citation documents have consistent citation settings.
- valueOf(String) - Static method in enum class org.springframework.ai.anthropic.AnthropicCacheStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.anthropic.AnthropicCacheTtl
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.anthropic.AnthropicCitationDocument.DocumentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.anthropic.AnthropicSkill
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.ai.anthropic.AnthropicSkillType
-
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.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.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.AnthropicCitationDocument.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.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.AnthropicSkillType
-
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(String) - Method in class org.springframework.ai.anthropic.AnthropicSkillRecord.Builder
X
- XLSX - Enum constant in enum class org.springframework.ai.anthropic.AnthropicSkill
-
Excel spreadsheet generation and manipulation.
All Classes and Interfaces|All Packages