Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- 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) - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi
-
Create a new client api with DEFAULT_BASE_URL
- AnthropicApi(String, String) - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi
-
Create a new client api.
- AnthropicApi(String, String, String, RestClient.Builder, WebClient.Builder, ResponseErrorHandler) - Constructor for class org.springframework.ai.anthropic.api.AnthropicApi
-
Create a new client api.
- AnthropicApi(String, String, String, RestClient.Builder, WebClient.Builder, ResponseErrorHandler, String) - 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.ChatCompletionRequest - Record Class in org.springframework.ai.anthropic.api
-
Chat completion request object.
- AnthropicApi.ChatCompletionRequest.Metadata - Record Class in org.springframework.ai.anthropic.api
-
Metadata about the request.
- AnthropicApi.ChatCompletionRequestBuilder - Class in org.springframework.ai.anthropic.api
- AnthropicApi.ChatCompletionResponse - Record Class in org.springframework.ai.anthropic.api
-
Chat completion response object.
- AnthropicApi.ChatModel - Enum Class in org.springframework.ai.anthropic.api
-
Check the Models overview and model comparison for additional details and options.
- AnthropicApi.ContentBlock - Record Class in org.springframework.ai.anthropic.api
-
The content block of the message.
- 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.ContentBlockDeltaText - Record Class in org.springframework.ai.anthropic.api
-
Text 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.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.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.StreamEvent - Interface in org.springframework.ai.anthropic.api
- AnthropicApi.Tool - Record Class in org.springframework.ai.anthropic.api
-
Tool description.
- 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.
- AnthropicChatModel - Class in org.springframework.ai.anthropic
-
The
ChatModelimplementation for the Anthropic service. - AnthropicChatModel(AnthropicApi) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
-
Deprecated.
- AnthropicChatModel(AnthropicApi, AnthropicChatOptions) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
-
Deprecated.
- AnthropicChatModel(AnthropicApi, AnthropicChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
- AnthropicChatModel(AnthropicApi, AnthropicChatOptions, RetryTemplate) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
-
Deprecated.
- AnthropicChatModel(AnthropicApi, AnthropicChatOptions, RetryTemplate, FunctionCallbackResolver) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
-
Deprecated.
- AnthropicChatModel(AnthropicApi, AnthropicChatOptions, RetryTemplate, FunctionCallbackResolver, List<FunctionCallback>) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
-
Deprecated.
- AnthropicChatModel(AnthropicApi, AnthropicChatOptions, RetryTemplate, FunctionCallbackResolver, List<FunctionCallback>, ObservationRegistry) - Constructor for class org.springframework.ai.anthropic.AnthropicChatModel
-
Deprecated.
- 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.ContentBlock>, AnthropicApi.Role) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicMessage
-
Creates an instance of a
AnthropicMessagerecord class. - AnthropicRateLimit - Class in org.springframework.ai.anthropic.metadata
-
RateLimitimplementation 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
- ASSISTANT - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.Role
-
The assistant role.
B
- BETA_MAX_TOKENS - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
- 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.ChatCompletionRequestBuilder
- 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 record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
- Builder() - Constructor for class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
C
- call(Prompt) - Method in class org.springframework.ai.anthropic.AnthropicChatModel
- chatCompletionEntity(AnthropicApi.ChatCompletionRequest) - Method in class org.springframework.ai.anthropic.api.AnthropicApi
-
Creates a model response for the given chat conversation.
- ChatCompletionRequest(String, List<AnthropicApi.AnthropicMessage>, String, Integer, Double, Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
- ChatCompletionRequest(String, List<AnthropicApi.AnthropicMessage>, String, Integer, List<String>, Double, Boolean) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
- ChatCompletionRequest(String, List<AnthropicApi.AnthropicMessage>, String, Integer, AnthropicApi.ChatCompletionRequest.Metadata, List<String>, Boolean, Double, Double, Integer, List<AnthropicApi.Tool>) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Creates an instance of a
ChatCompletionRequestrecord class. - ChatCompletionResponse(String, String, AnthropicApi.Role, List<AnthropicApi.ContentBlock>, String, String, String, AnthropicApi.Usage) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Creates an instance of a
ChatCompletionResponserecord 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.
- CLAUDE_2 - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
-
The CLAUDE_2_0 (Deprecated.
- CLAUDE_2_1 - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ChatModel
-
The CLAUDE_2_1 (Deprecated.
- 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-20241022 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.
- content() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.AnthropicMessage
-
Returns the value of the
contentrecord component. - content() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Returns the value of the
contentrecord component. - content() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Returns the value of the
contentrecord component. - CONTENT_BLOCK_DELTA - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.EventType
-
Content block delta event.
- 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
contentBlockrecord 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(AnthropicApi.ContentBlock.Source) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Create content block
- ContentBlock(AnthropicApi.ContentBlock.Type, String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Create content block
- ContentBlock(AnthropicApi.ContentBlock.Type, String, String, Map<String, Object>) - 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) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Creates an instance of a
ContentBlockrecord class. - ContentBlockDeltaEvent(AnthropicApi.EventType, Integer, AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaBody) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
-
Creates an instance of a
ContentBlockDeltaEventrecord class. - ContentBlockDeltaJson(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson
-
Creates an instance of a
ContentBlockDeltaJsonrecord class. - ContentBlockDeltaText(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
-
Creates an instance of a
ContentBlockDeltaTextrecord class. - ContentBlockStartEvent(AnthropicApi.EventType, Integer, AnthropicApi.ContentBlockStartEvent.ContentBlockBody) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
-
Creates an instance of a
ContentBlockStartEventrecord class. - ContentBlockStopEvent(AnthropicApi.EventType, Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
-
Creates an instance of a
ContentBlockStopEventrecord class. - ContentBlockText(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockText
-
Creates an instance of a
ContentBlockTextrecord class. - ContentBlockToolUse(String, String, String, Map<String, Object>) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
-
Creates an instance of a
ContentBlockToolUserecord class. - copy() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
D
- data() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
-
Returns the value of the
datarecord component. - 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_MODEL_NAME - Static variable in class org.springframework.ai.anthropic.AnthropicChatModel
- DEFAULT_TEMPERATURE - Static variable in class org.springframework.ai.anthropic.AnthropicChatModel
- defaultOptions(AnthropicChatOptions) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
- delta() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
-
Returns the value of the
deltarecord component. - delta() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
-
Returns the value of the
deltarecord component. - description() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
-
Returns the value of the
descriptionrecord component. - DOCUMENT - Enum constant in enum class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
-
Document message.
E
- 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
-
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.ChatCompletionResponse
-
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.ContentBlockDeltaText
-
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.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.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.Tool
-
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
errorrecord component. - Error(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
-
Creates an instance of a
Errorrecord 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
ErrorEventrecord class. - eventToChatCompletionResponse(AnthropicApi.StreamEvent, AtomicReference<StreamHelper.ChatCompletionResponseBuilder>) - Method in class org.springframework.ai.anthropic.api.StreamHelper
F
- from(AnthropicApi.ChatCompletionRequest) - Static method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
- fromOptions(AnthropicChatOptions) - Static method in class org.springframework.ai.anthropic.AnthropicChatOptions
- function(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
-
Deprecated.
- functionCallbackResolver(FunctionCallbackResolver) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Deprecated.
- functionCallbacks(List<FunctionCallback>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
-
Deprecated.
- functions(Set<String>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
-
Deprecated.
G
- getDefaultOptions() - Method in class org.springframework.ai.anthropic.AnthropicChatModel
- getFrequencyPenalty() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getFunctionCallbacks() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Deprecated.
- getFunctions() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Deprecated.
- getMaxTokens() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- 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.
- getPresencePenalty() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getProxyToolCalls() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Deprecated.
- 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
- getStopSequences() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- getTemperature() - 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
- 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
- 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.
H
- 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
-
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.ChatCompletionResponse
-
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.ContentBlockDeltaText
-
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.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.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.Tool
-
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.
I
- id() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Returns the value of the
idrecord component. - id() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
-
Returns the value of the
idrecord component. - 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
indexrecord component. - index() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
-
Returns the value of the
indexrecord component. - index() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
-
Returns the value of the
indexrecord component. - index() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
-
Returns the value of the
indexrecord component. - input() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Returns the value of the
inputrecord component. - input() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
-
Returns the value of the
inputrecord component. - 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
inputSchemarecord component. - inputTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
-
Returns the value of the
inputTokensrecord 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
- isEmpty() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ToolUseAggregationEvent
-
Check if the event is empty.
- isInternalToolExecutionEnabled() - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- isToolUseFinish(AnthropicApi.StreamEvent) - Method in class org.springframework.ai.anthropic.api.StreamHelper
- isToolUseStart(AnthropicApi.StreamEvent) - Method in class org.springframework.ai.anthropic.api.StreamHelper
M
- maxTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
maxTokensrecord component. - maxTokens(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- mediaType() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
-
Returns the value of the
mediaTyperecord component. - mergeToolUseEvents(AnthropicApi.StreamEvent, AnthropicApi.StreamEvent) - Method in class org.springframework.ai.anthropic.api.StreamHelper
- message() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
-
Returns the value of the
messagerecord component. - message() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
-
Returns the value of the
messagerecord 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
MessageDeltarecord 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
MessageDeltaEventrecord class. - MessageDeltaUsage(Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDeltaUsage
-
Creates an instance of a
MessageDeltaUsagerecord class. - messages() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
messagesrecord component. - MessageStartEvent(AnthropicApi.EventType, AnthropicApi.ChatCompletionResponse) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
-
Creates an instance of a
MessageStartEventrecord class. - MessageStopEvent(AnthropicApi.EventType) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStopEvent
-
Creates an instance of a
MessageStopEventrecord class. - metadata() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
metadatarecord component. - metadata(AnthropicApi.ChatCompletionRequest.Metadata) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- Metadata(String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.Metadata
-
Creates an instance of a
Metadatarecord class. - model() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
modelrecord component. - model() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Returns the value of the
modelrecord component. - model(String) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- model(AnthropicApi.ChatModel) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
N
- name() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Returns the value of the
namerecord component. - name() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
-
Returns the value of the
namerecord component. - name() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
-
Returns the value of the
namerecord component.
O
- observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
- 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.metadata - package org.springframework.ai.anthropic.metadata
- outputTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDeltaUsage
-
Returns the value of the
outputTokensrecord component. - outputTokens() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
-
Returns the value of the
outputTokensrecord component.
P
- partialJson() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaJson
-
Returns the value of the
partialJsonrecord component. - 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
PingEventrecord class. - PROVIDER_NAME - Static variable in class org.springframework.ai.anthropic.api.AnthropicApi
- proxyToolCalls(Boolean) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
-
Deprecated.
R
- registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.ai.anthropic.aot.AnthropicRuntimeHints
- 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
rolerecord component. - role() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Returns the value of the
rolerecord component.
S
- setFunctionCallbacks(List<FunctionCallback>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Deprecated.
- setFunctions(Set<String>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Deprecated.
- setInternalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setMaxTokens(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- 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
- setProxyToolCalls(Boolean) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
-
Deprecated.
- setStopSequences(List<String>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setTemperature(Double) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setToolCallbacks(List<FunctionCallback>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setToolContext(Map<String, Object>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions
- setToolNames(Set<String>) - 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
- source() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Returns the value of the
sourcerecord component. - Source(String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
-
Create source
- Source(String, String, String) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
-
Creates an instance of a
Sourcerecord class. - stopReason() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Returns the value of the
stopReasonrecord component. - stopReason() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDelta
-
Returns the value of the
stopReasonrecord component. - stopSequence() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Returns the value of the
stopSequencerecord component. - stopSequence() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent.MessageDelta
-
Returns the value of the
stopSequencerecord component. - stopSequences() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
stopSequencesrecord component. - stopSequences(List<String>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- stream() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
streamrecord component. - 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.
- 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
systemrecord component.
T
- temperature() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
temperaturerecord component. - temperature(Double) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- text() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Returns the value of the
textrecord component. - text() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
-
Returns the value of the
textrecord component. - text() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockText
-
Returns the value of the
textrecord component. - 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.
- Tool(String, String, Map<String, Object>) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.Tool
-
Creates an instance of a
Toolrecord class. - 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<FunctionCallback>) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
-
Deprecated.
- toolCallbacks(List<FunctionCallback>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- toolCallbacks(FunctionCallback...) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.anthropic.AnthropicChatModel.Builder
- toolContext(Map<String, Object>) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- toolNames(String...) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- toolNames(Set<String>) - 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
toolsrecord component. - 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
toolUseIdrecord component. - topK() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
topKrecord component. - topK(Integer) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- topP() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest
-
Returns the value of the
topPrecord component. - topP(Double) - Method in class org.springframework.ai.anthropic.AnthropicChatOptions.Builder
- 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.Metadata
-
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
-
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.ContentBlockDeltaText
-
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.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.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.Tool
-
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.metadata.AnthropicRateLimit
- type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Source
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock
-
Returns the value of the
typerecord 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
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent.ContentBlockDeltaText
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockDeltaEvent
-
Returns the value of the
typerecord 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
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent.ContentBlockToolUse
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStartEvent
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ContentBlockStopEvent
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent.Error
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ErrorEvent
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStartEvent
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageStopEvent
-
Returns the value of the
typerecord component. - type() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.PingEvent
-
Returns the value of the
typerecord component. - type() - Method in interface org.springframework.ai.anthropic.api.AnthropicApi.StreamEvent
- type() - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ToolUseAggregationEvent
U
- usage() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionResponse
-
Returns the value of the
usagerecord component. - usage() - Method in record class org.springframework.ai.anthropic.api.AnthropicApi.MessageDeltaEvent
-
Returns the value of the
usagerecord component. - Usage(Integer, Integer) - Constructor for record class org.springframework.ai.anthropic.api.AnthropicApi.Usage
-
Creates an instance of a
Usagerecord class. - 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
userIdrecord component.
V
- 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.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.
- 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.
W
- withContent(List<AnthropicApi.ContentBlock>) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
- withId(String) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
- withMaxTokens(Integer) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withMessages(List<AnthropicApi.AnthropicMessage>) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withMetadata(AnthropicApi.ChatCompletionRequest.Metadata) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withModel(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withModel(String) - Method in class org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder
- withModel(AnthropicApi.ChatModel) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- 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
- withStopSequences(List<String>) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withStream(Boolean) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withSystem(String) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withTemperature(Double) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withTools(List<AnthropicApi.Tool>) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withTopK(Integer) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- withTopP(Double) - Method in class org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequestBuilder
- 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
All Classes and Interfaces|All Packages|Constant Field Values
AnthropicChatModel.Builder.