Class ChatClientMessageAggregator

java.lang.Object
org.springframework.ai.chat.client.ChatClientMessageAggregator

public class ChatClientMessageAggregator extends Object
Helper that for streaming chat responses, aggregate the chat response messages into a single AssistantMessage. Job is performed in parallel to the chat response processing.
Since:
1.0.0
Author:
Christian Tzolov, Alexandros Pappas, Thomas Vitale
  • Constructor Details

    • ChatClientMessageAggregator

      public ChatClientMessageAggregator()
  • Method Details