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