AiliaLLMMultimodalChatMessage

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

Represents a multimodal chat message with media attachments. Corresponds to the AILIALLMMultimodalChatMessage C structure.

The content field can include <media> placeholders which will be replaced with the corresponding media data from the mediaData array.

Constructors

Link copied to clipboard
constructor(role: String, content: String, media: AiliaLLMMediaData)

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

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

Properties

Link copied to clipboard

The content of the message with <media> placeholders for media

Link copied to clipboard

Array of media data (images, audio) referenced by <media> markers

Link copied to clipboard

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String