Package dev.langchain4j.data.message
See: Description
-
Interface Summary Interface Description ChatMessageJsonCodec A codec for serializing and deserializing ChatMessage objects to and from JSON. ChatMessage Represents a chat message. Content Abstract base interface for message content. -
Class Summary Class Description ChatMessageDeserializer A deserializer for ChatMessage objects. TextFileContent GsonChatMessageJsonCodec A codec for serializing and deserializing ChatMessage objects to and from JSON. PdfFileContent TextContent Represents a text content. SystemMessage Represents a system message, typically defined by a developer. VideoContent ChatMessageSerializer ToolExecutionResultMessage Represents the result of a tool execution in response to a ToolExecutionRequest. AudioContent UserMessage Represents a message from a user, typically an end user of the application. AiMessage Represents a response message from an AI (language model). ImageContent Represents an image with a DetailLevel. -
Enum Summary Enum Description ContentType The type of content, e.g. ChatMessageType The type of content, e.g. DetailLevel The detail level of an Image.