Class SystemMessage

  • All Implemented Interfaces:
    dev.langchain4j.data.message.ChatMessage

    
    public class SystemMessage
     implements ChatMessage
                        

    Represents a system message, typically defined by a developer. This type of message usually provides instructions regarding the AI's actions, such as its behavior or response style.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemMessage(String text) Creates a new system message.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • SystemMessage

        SystemMessage(String text)
        Creates a new system message.
        Parameters:
        text - the message text.