Class BedrockProxyChatModel.Builder
java.lang.Object
org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- Enclosing class:
- BedrockProxyChatModel
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withBedrockRuntimeAsyncClient
(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient bedrockRuntimeAsyncClient) withBedrockRuntimeClient
(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient bedrockRuntimeClient) withCredentialsProvider
(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) withCustomObservationConvention
(ChatModelObservationConvention observationConvention) withDefaultOptions
(FunctionCallingOptions defaultOptions) withFunctionCallbackContext
(FunctionCallbackContext functionCallbackContext) withObservationRegistry
(io.micrometer.observation.ObservationRegistry observationRegistry) withRegion
(software.amazon.awssdk.regions.Region region) withTimeout
(Duration timeout) withToolFunctionCallbacks
(List<FunctionCallback> toolFunctionCallbacks)
-
Method Details
-
withCredentialsProvider
public BedrockProxyChatModel.Builder withCredentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) -
withRegion
-
withTimeout
-
withDefaultOptions
-
withFunctionCallbackContext
public BedrockProxyChatModel.Builder withFunctionCallbackContext(FunctionCallbackContext functionCallbackContext) -
withToolFunctionCallbacks
public BedrockProxyChatModel.Builder withToolFunctionCallbacks(List<FunctionCallback> toolFunctionCallbacks) -
withObservationRegistry
public BedrockProxyChatModel.Builder withObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) -
withCustomObservationConvention
public BedrockProxyChatModel.Builder withCustomObservationConvention(ChatModelObservationConvention observationConvention) -
withBedrockRuntimeClient
public BedrockProxyChatModel.Builder withBedrockRuntimeClient(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient bedrockRuntimeClient) -
withBedrockRuntimeAsyncClient
public BedrockProxyChatModel.Builder withBedrockRuntimeAsyncClient(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient bedrockRuntimeAsyncClient) -
build
-