Class BedrockProxyChatModel.Builder
java.lang.Object
org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- Enclosing class:
- BedrockProxyChatModel
-
Method Summary
Modifier and TypeMethodDescriptionbedrockRuntimeAsyncClient
(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient bedrockRuntimeAsyncClient) bedrockRuntimeClient
(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient bedrockRuntimeClient) build()
credentialsProvider
(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) customObservationConvention
(ChatModelObservationConvention observationConvention) defaultOptions
(ToolCallingChatOptions defaultOptions) functionCallbackResolver
(FunctionCallbackResolver functionCallbackResolver) observationRegistry
(io.micrometer.observation.ObservationRegistry observationRegistry) region
(software.amazon.awssdk.regions.Region region) toolCallingManager
(ToolCallingManager toolCallingManager) withBedrockRuntimeAsyncClient
(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient bedrockRuntimeAsyncClient) Deprecated.withBedrockRuntimeClient
(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient bedrockRuntimeClient) Deprecated.UsebedrockRuntimeClient(BedrockRuntimeClient)
instead.withCredentialsProvider
(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) Deprecated.UsecredentialsProvider(AwsCredentialsProvider)
instead.withCustomObservationConvention
(ChatModelObservationConvention observationConvention) Deprecated.withDefaultOptions
(FunctionCallingOptions defaultOptions) Deprecated.UsedefaultOptions(ToolCallingChatOptions)
instead.withFunctionCallbackContext
(FunctionCallbackResolver functionCallbackResolver) Deprecated.To be removed after M6withObservationRegistry
(io.micrometer.observation.ObservationRegistry observationRegistry) Deprecated.UseobservationRegistry(ObservationRegistry)
instead.withRegion
(software.amazon.awssdk.regions.Region region) Deprecated.Useregion(Region)
instead.withTimeout
(Duration timeout) Deprecated.Usetimeout(Duration)
instead.withToolFunctionCallbacks
(List<FunctionCallback> toolFunctionCallbacks) Deprecated.To be removed after M6
-
Method Details
-
toolCallingManager
-
withCredentialsProvider
@Deprecated public BedrockProxyChatModel.Builder withCredentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) Deprecated.UsecredentialsProvider(AwsCredentialsProvider)
instead. -
credentialsProvider
public BedrockProxyChatModel.Builder credentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) -
withRegion
@Deprecated public BedrockProxyChatModel.Builder withRegion(software.amazon.awssdk.regions.Region region) Deprecated.Useregion(Region)
instead. -
region
-
withTimeout
Deprecated.Usetimeout(Duration)
instead. -
timeout
-
withDefaultOptions
@Deprecated public BedrockProxyChatModel.Builder withDefaultOptions(FunctionCallingOptions defaultOptions) Deprecated.UsedefaultOptions(ToolCallingChatOptions)
instead. -
defaultOptions
-
withFunctionCallbackContext
@Deprecated public BedrockProxyChatModel.Builder withFunctionCallbackContext(FunctionCallbackResolver functionCallbackResolver) Deprecated.To be removed after M6 -
functionCallbackResolver
public BedrockProxyChatModel.Builder functionCallbackResolver(FunctionCallbackResolver functionCallbackResolver) -
withToolFunctionCallbacks
@Deprecated public BedrockProxyChatModel.Builder withToolFunctionCallbacks(List<FunctionCallback> toolFunctionCallbacks) Deprecated.To be removed after M6 -
withObservationRegistry
@Deprecated public BedrockProxyChatModel.Builder withObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) Deprecated.UseobservationRegistry(ObservationRegistry)
instead. -
observationRegistry
public BedrockProxyChatModel.Builder observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) -
withCustomObservationConvention
@Deprecated public BedrockProxyChatModel.Builder withCustomObservationConvention(ChatModelObservationConvention observationConvention) Deprecated. -
customObservationConvention
public BedrockProxyChatModel.Builder customObservationConvention(ChatModelObservationConvention observationConvention) -
withBedrockRuntimeClient
@Deprecated public BedrockProxyChatModel.Builder withBedrockRuntimeClient(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient bedrockRuntimeClient) Deprecated.UsebedrockRuntimeClient(BedrockRuntimeClient)
instead. -
bedrockRuntimeClient
public BedrockProxyChatModel.Builder bedrockRuntimeClient(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient bedrockRuntimeClient) -
withBedrockRuntimeAsyncClient
@Deprecated public BedrockProxyChatModel.Builder withBedrockRuntimeAsyncClient(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient bedrockRuntimeAsyncClient) Deprecated.UsebedrockRuntimeAsyncClient(BedrockRuntimeAsyncClient)
instead. -
bedrockRuntimeAsyncClient
public BedrockProxyChatModel.Builder bedrockRuntimeAsyncClient(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient bedrockRuntimeAsyncClient) -
build
-
bedrockRuntimeAsyncClient(BedrockRuntimeAsyncClient)
instead.