Class DefaultChatClient
java.lang.Object
org.springframework.ai.chat.client.DefaultChatClient
- All Implemented Interfaces:
- ChatClient
The default implementation of 
ChatClient as created by the
 ChatClient.Builder.build() } method.- Since:
- 1.0.0
- Author:
- Mark Pollack, Christian Tzolov, Josh Long, Arjen Poutsma, Soby Chacko, Dariusz Jedrzejczyk, Thomas Vitale
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface org.springframework.ai.chat.client.ChatClientChatClient.AdvisorSpec, ChatClient.Builder, ChatClient.CallPromptResponseSpec, ChatClient.CallResponseSpec, ChatClient.ChatClientRequestSpec, ChatClient.PromptSystemSpec, ChatClient.PromptUserSpec, ChatClient.StreamPromptResponseSpec, ChatClient.StreamResponseSpec
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultChatClient(DefaultChatClient.DefaultChatClientRequestSpec defaultChatClientRequest) 
- 
Method SummaryModifier and TypeMethodDescriptionmutate()Return aChatClient.Builderto create a newChatClientwhose settings are replicated from thisChatClientRequest.prompt()
- 
Constructor Details- 
DefaultChatClient
 
- 
- 
Method Details- 
prompt- Specified by:
- promptin interface- ChatClient
 
- 
prompt- Specified by:
- promptin interface- ChatClient
 
- 
prompt- Specified by:
- promptin interface- ChatClient
 
- 
mutateReturn aChatClient.Builderto create a newChatClientwhose settings are replicated from thisChatClientRequest.- Specified by:
- mutatein interface- ChatClient
 
 
-