Class DefaultChatClient.DefaultStreamPromptResponseSpec
java.lang.Object
org.springframework.ai.chat.client.DefaultChatClient.DefaultStreamPromptResponseSpec
- All Implemented Interfaces:
ChatClient.StreamPromptResponseSpec
- Enclosing class:
- DefaultChatClient
public static class DefaultChatClient.DefaultStreamPromptResponseSpec
extends Object
implements ChatClient.StreamPromptResponseSpec
-
Constructor Summary
ConstructorDescriptionDefaultStreamPromptResponseSpec
(StreamingChatModel streamingChatModel, Prompt prompt) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
reactor.core.publisher.Flux<String>
content()
-
Constructor Details
-
DefaultStreamPromptResponseSpec
-
-
Method Details
-
chatResponse
- Specified by:
chatResponse
in interfaceChatClient.StreamPromptResponseSpec
-
content
- Specified by:
content
in interfaceChatClient.StreamPromptResponseSpec
-