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
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.