Class SystemMessage
java.lang.Object
nl.dannyj.mistral.models.completion.message.ChatMessage
nl.dannyj.mistral.models.completion.message.SystemMessage
Represents a message with the 'system' role in a chat conversation.
System messages are used to provide high-level instructions or context to the model.
-
Field Summary
Fields inherited from class nl.dannyj.mistral.models.completion.message.ChatMessage
content
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class nl.dannyj.mistral.models.completion.message.ChatMessage
getContent, getTextContent
-
Constructor Details
-
SystemMessage
-
SystemMessage
public SystemMessage()
-
-
Method Details
-
getRole
Gets the role of this message.- Specified by:
getRole
in classChatMessage
- Returns:
- Always returns
MessageRole.SYSTEM
.
-
equals
-
canEqual
-
hashCode
public int hashCode()
-