Package com.axemble.vdoc.sdk.ai.agents
Interface ILanguageMessage
public interface ILanguageMessage
Interface to represent a message in a conversation
-
Method Summary
Modifier and TypeMethodDescriptionGet the content of the messagegetRole()Get the role of the message senderGet the sources of the message
-
Method Details
-
getRole
String getRole()Get the role of the message sender- Returns:
- the role of the message sender
-
getContent
String getContent()Get the content of the message- Returns:
- the content of the message
-
getSources
Collection<IChatResponseSource> getSources()Get the sources of the message- Returns:
- the sources of the message
-