AiliaLLMMultimodalChatMessage

constructor(role: String, content: String, media: AiliaLLMMediaData)

Creates a new multimodal chat message with a single media attachment.

Parameters

role

The role of the message sender (system, user, or assistant)

content

The content with <media> placeholder

media

Single media data


constructor(role: String, content: String, mediaData: Array<AiliaLLMMediaData>? = null)