Class SystemMessage
java.lang.Object
org.springframework.ai.chat.messages.AbstractMessage
org.springframework.ai.chat.messages.SystemMessage
- All Implemented Interfaces:
Message
A message of the type 'system' passed as input. The system message gives high level
instructions for the conversation. This role typically provides high-level instructions
for the conversation. For example, you might use a system message to instruct the
generative to behave like a certain character or to provide answers in a specific
format.
-
Field Summary
Fields inherited from class org.springframework.ai.chat.messages.AbstractMessage
content, messageType, properties
-
Constructor Summary
ConstructorDescriptionSystemMessage
(String content) SystemMessage
(org.springframework.core.io.Resource resource) -
Method Summary
Methods inherited from class org.springframework.ai.chat.messages.AbstractMessage
equals, getContent, getMessageType, getProperties, hashCode