Interface StreamAdvisor
- All Superinterfaces:
Advisor,org.springframework.core.Ordered
- All Known Subinterfaces:
BaseAdvisor,BaseChatMemoryAdvisor
- All Known Implementing Classes:
ChatModelStreamAdvisor,MessageChatMemoryAdvisor,PromptChatMemoryAdvisor,SafeGuardAdvisor,SimpleLoggerAdvisor
Advisor for execution flows ultimately resulting in a streaming call to an AI model.
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Dariusz Jedrzejczyk, Thomas Vitale
-
Field Summary
Fields inherited from interface org.springframework.ai.chat.client.advisor.api.Advisor
DEFAULT_CHAT_MEMORY_PRECEDENCE_ORDERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatClientResponse>adviseStream(ChatClientRequest chatClientRequest, StreamAdvisorChain streamAdvisorChain) Methods inherited from interface org.springframework.core.Ordered
getOrder
-
Method Details
-
adviseStream
reactor.core.publisher.Flux<ChatClientResponse> adviseStream(ChatClientRequest chatClientRequest, StreamAdvisorChain streamAdvisorChain)
-