Class AnthropicApi.Builder
java.lang.Object
org.springframework.ai.anthropic.api.AnthropicApi.Builder
- Enclosing class:
- AnthropicApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanthropicBetaFeatures
(String anthropicBetaFeatures) anthropicVersion
(String anthropicVersion) build()
completionsPath
(String completionsPath) responseErrorHandler
(org.springframework.web.client.ResponseErrorHandler responseErrorHandler) restClientBuilder
(org.springframework.web.client.RestClient.Builder restClientBuilder) webClientBuilder
(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseUrl
-
completionsPath
-
apiKey
-
apiKey
-
anthropicVersion
-
restClientBuilder
public AnthropicApi.Builder restClientBuilder(org.springframework.web.client.RestClient.Builder restClientBuilder) -
webClientBuilder
public AnthropicApi.Builder webClientBuilder(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder) -
responseErrorHandler
public AnthropicApi.Builder responseErrorHandler(org.springframework.web.client.ResponseErrorHandler responseErrorHandler) -
anthropicBetaFeatures
-
build
-