Base Message
Base message implementation supporting multimodal content.
Parameters
role
Role of the message sender
parts
List of content parts (text, images, etc.)
name
of the sender, if available
timestamp
when the message was created
Inheritors
Properties
Link copied to clipboard
Returns all document parts in this message.
Link copied to clipboard
Returns all image parts in this message.
Link copied to clipboard
Returns true if this message contains any non-text content.
Link copied to clipboard
Returns all binary media parts in this message.
Link copied to clipboard
Link copied to clipboard
Returns the text content of the message by concatenating all TextParts.
Functions
Link copied to clipboard
fun Message.toSpringAiMessage(toolResponseContentAdapter: ToolResponseContentAdapter = ToolResponseContentAdapter.PASSTHROUGH): <Error class: unknown class>
Convert one of our messages to a Spring AI message with multimodal support.