Uses of Enum Class
org.springframework.ai.chat.messages.MessageType
Packages that use MessageType
-
Uses of MessageType in org.springframework.ai.chat.messages
Fields in org.springframework.ai.chat.messages declared as MessageTypeModifier and TypeFieldDescriptionprotected final MessageTypeAbstractMessage.messageTypeThe message type of the message.Methods in org.springframework.ai.chat.messages that return MessageTypeModifier and TypeMethodDescriptionstatic MessageTypeAbstractMessage.getMessageType()Get the message type of the message.Message.getMessageType()Get the message type.static MessageTypeReturns the enum constant of this class with the specified name.static MessageType[]MessageType.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.springframework.ai.chat.messages with parameters of type MessageTypeModifierConstructorDescriptionprotectedAbstractMessage(MessageType messageType, String textContent, Map<String, Object> metadata) Create a new AbstractMessage with the given message type, text content, and metadata.protectedAbstractMessage(MessageType messageType, org.springframework.core.io.Resource resource, Map<String, Object> metadata) Create a new AbstractMessage with the given message type, resource, and metadata.