-
public final class ConversationEvent.AgentChatResponsePart extends ConversationEvent
Streaming agent chat response parts type lifecycle: start -> delta... -> stop
-
-
Constructor Summary
Constructors Constructor Description ConversationEvent.AgentChatResponsePart(String partType, String text, Integer eventId)
-
Method Summary
Modifier and Type Method Description final StringgetPartType()final StringgetText()final IntegergetEventId()-
-
Constructor Detail
-
ConversationEvent.AgentChatResponsePart
ConversationEvent.AgentChatResponsePart(String partType, String text, Integer eventId)
- Parameters:
partType- The part's position in the lifecycle ("start" | "delta" | "stop")text- The text chunk for this parteventId- Server event id used to correlate parts of the same streamed message
-
-
Method Detail
-
getPartType
final String getPartType()
-
getEventId
final Integer getEventId()
-
-
-
-