Package org.springframework.ai.chat.messages


package org.springframework.ai.chat.messages
  • Class
    Description
    The AbstractMessage class is an abstract implementation of the Message interface.
    Lets the generative know the content was generated as a response to the user.
     
    The Message interface represents a message that can be sent or received in a chat application.
    The MessageType enum represents the type of message in a chat application.
    A message of the type 'system' passed as input.
    The ToolResponseMessage class represents a message with a function content in a chat application.
     
    A message of the type 'user' passed as input Messages with the user role are from the end-user or developer.