Package com.longbridge.agent
Class ChatTitleUpdatedEvent
- java.lang.Object
-
- com.longbridge.agent.ConversationStreamEvent
-
- com.longbridge.agent.ChatTitleUpdatedEvent
-
public final class ChatTitleUpdatedEvent extends ConversationStreamEvent
The server auto-generating a short title for the conversation as a UI convenience. Can arrive before or after aWorkflowFinishedEvent; not tied to the run's outcome.
-
-
Constructor Summary
Constructors Constructor Description ChatTitleUpdatedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetChatId()Returns the ID of the owning conversation.StringgetChatUid()Returns the conversation identifier.StringgetSource()Returns where the title came from, e.g.StringgetTitle()Returns the new (possibly truncated) title.longgetUpdatedAt()Returns the Unix timestamp (in seconds) at which the title was updated.StringtoString()
-
-
-
Method Detail
-
getChatId
public long getChatId()
Returns the ID of the owning conversation.- Returns:
- conversation ID
-
getChatUid
public String getChatUid()
Returns the conversation identifier.- Returns:
- conversation identifier
-
getSource
public String getSource()
Returns where the title came from, e.g."ai_generated".- Returns:
- where the title came from
-
getTitle
public String getTitle()
Returns the new (possibly truncated) title.- Returns:
- the new (possibly truncated) title
-
getUpdatedAt
public long getUpdatedAt()
Returns the Unix timestamp (in seconds) at which the title was updated.- Returns:
- Unix timestamp (in seconds) at which the title was updated
-
-