Class AnthropicChatModel.Builder
java.lang.Object
org.springframework.ai.anthropic.AnthropicChatModel.Builder
- Enclosing class:
AnthropicChatModel
- Since:
- 1.0.0
- Author:
- Christian Tzolov, luocongqiu, Mariusz Bernacki, Thomas Vitale, Claudio Silva Junior, Alexandros Pappas, Jonghoon Park, Soby Chacko, Austin Dase
-
Method Summary
Modifier and TypeMethodDescriptionanthropicApi(AnthropicApi anthropicApi) build()defaultOptions(AnthropicChatOptions defaultOptions) observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) retryTemplate(org.springframework.core.retry.RetryTemplate retryTemplate) toolCallingManager(org.springframework.ai.model.tool.ToolCallingManager toolCallingManager) toolExecutionEligibilityPredicate(org.springframework.ai.model.tool.ToolExecutionEligibilityPredicate toolExecutionEligibilityPredicate)
-
Method Details
-
anthropicApi
-
defaultOptions
-
retryTemplate
public AnthropicChatModel.Builder retryTemplate(org.springframework.core.retry.RetryTemplate retryTemplate) -
toolCallingManager
public AnthropicChatModel.Builder toolCallingManager(org.springframework.ai.model.tool.ToolCallingManager toolCallingManager) -
toolExecutionEligibilityPredicate
public AnthropicChatModel.Builder toolExecutionEligibilityPredicate(org.springframework.ai.model.tool.ToolExecutionEligibilityPredicate toolExecutionEligibilityPredicate) -
observationRegistry
public AnthropicChatModel.Builder observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) -
build
-