Package com.embabel.chat
Interface Message
-
- All Implemented Interfaces:
-
com.embabel.common.core.types.Timestamped
public interface Message implements TimestampedCore message interface for the agent system. This is the minimal contract that all messages must implement, suitable for both in-memory usage and persistence.
-
-
Method Summary
Modifier and Type Method Description abstract MessageRolegetRole()Role of the message sender. abstract StringgetContent()Text content of the message. -
-
Method Detail
-
getRole
abstract MessageRole getRole()
Role of the message sender.
-
getContent
abstract String getContent()
Text content of the message.
-
-
-
-