User Message
Message sent by the user - supports multimodal content and attached assets.
Assets attached to a message that may be checkpointed (e.g. via blackboard persistence) or persisted across sessions must be serializable. Use DurableAsset (typically by materializing into an com.embabel.chat.spi.AssetStore first), or serializable assets such as MaterializableAsset.fromBytes or MaterializableAsset.fromPath. Transient stream-based assets created via MaterializableAsset.of must be materialized before attaching to a message subject to checkpointing.
Constructors
Properties
Returns all document parts in this message.
Returns all image parts in this message.
Returns true if this message contains any non-text content.
Returns all binary media parts in this message.
Returns the text content of the message by concatenating all TextParts.
Functions
The most recently timestamped assets
The most recently added assets
Convenience method to return references. References will be converted to matryoshka tools
Convert one of our messages to a Spring AI message with multimodal support.