Class BedrockAnthropic3ChatModel
java.lang.Object
org.springframework.ai.bedrock.anthropic3.BedrockAnthropic3ChatModel
- All Implemented Interfaces:
ChatModel
,StreamingChatModel
,Model<Prompt,
,ChatResponse> StreamingModel<Prompt,
ChatResponse>
@Deprecated
public class BedrockAnthropic3ChatModel
extends Object
implements ChatModel, StreamingChatModel
Deprecated.
Java
ChatModel
and StreamingChatModel
for the Bedrock Anthropic chat
generative.- Since:
- 1.0.0
- Author:
- Ben Middleton, Christian Tzolov, Wei Jiang, Alexandros Pappas
-
Constructor Summary
ConstructorDescriptionDeprecated.BedrockAnthropic3ChatModel
(Anthropic3ChatBedrockApi chatApi, Anthropic3ChatOptions options) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Executes a method call to the AI model.protected Usage
Deprecated.Deprecated.reactor.core.publisher.Flux<ChatResponse>
Deprecated.Executes a method call to the AI model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.ai.chat.model.StreamingChatModel
stream, stream
-
Constructor Details
-
BedrockAnthropic3ChatModel
Deprecated. -
BedrockAnthropic3ChatModel
Deprecated.
-
-
Method Details
-
call
Deprecated.Description copied from interface:Model
Executes a method call to the AI model. -
stream
Deprecated.Description copied from interface:StreamingModel
Executes a method call to the AI model.- Specified by:
stream
in interfaceChatModel
- Specified by:
stream
in interfaceStreamingChatModel
- Specified by:
stream
in interfaceStreamingModel<Prompt,
ChatResponse> - Parameters:
prompt
- the request object to be sent to the AI model- Returns:
- the streaming response from the AI model
-
extractUsage
Deprecated. -
getDefaultOptions
Deprecated.- Specified by:
getDefaultOptions
in interfaceChatModel
-
BedrockProxyChatModel
.