Class AnthropicApi.Builder
java.lang.Object
org.springframework.ai.anthropic.api.AnthropicApi.Builder
- Enclosing class:
AnthropicApi
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Mariusz Bernacki, Thomas Vitale, Jihoon Kim, Alexandros Pappas, Jonghoon Park, Claudio Silva Junior, Filip Hrisafov, Soby Chacko, Austin Dase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanthropicBetaFeatures(String anthropicBetaFeatures) anthropicVersion(String anthropicVersion) apiKey(org.springframework.ai.model.ApiKey apiKey) 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
-