Package dev.langchain4j.data.message
package dev.langchain4j.data.message
-
ClassDescriptionRepresents a message generated by AI (language model).Represents a chat message.A deserializer for
ChatMessageobjects.A codec for serializing and deserializingChatMessageobjects to and from JSON.The type of content, e.g. text or image.Abstract base interface for message content.The type of content, e.g. text or image.Represents a custom message.Represents an image with a DetailLevel.The detail level of anImage.Represents a system message, typically defined by a developer.Represents a text content.Represents the result of a tool execution in response to aToolExecutionRequest.Represents a message from a user, typically an end user of the application.