Assistant Message
open class AssistantMessage constructor(content: String, val name: String? = null, val awaitable: Awaitable<*, *>? = null, val assets: List<Asset> = emptyList(), val timestamp: Instant = Instant.now()) : BaseMessage, AssistantContent, AssetView
Message sent by the assistant - currently text-only
Parameters
content
Content of the message
name
Name of the assistant, if available
awaitable
Awaitable associated with this message, if any Enables forms to be put in front of users
Constructors
Properties
Functions
Link copied to clipboard
The most recently timestamped assets
Link copied to clipboard
The most recently added assets
Link copied to clipboard
Convenience method to return references. References will be converted to matryoshka tools
Link copied to clipboard
Convert one of our messages to a Spring AI message with multimodal support.