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