Package-level declarations
Types
Link copied to clipboard
Represents a chat message for AiliaLLM. Each message has a role (system, user, assistant, or tool) and content. For tool use, a "tool" message holds the tool result as its content, see AiliaLLM.setTools.
Link copied to clipboard
data class AiliaLLMMediaData constructor(val mediaType: String, val filePath: String? = null, val width: Int = 0, val height: Int = 0, val data: ByteArray? = null, val dataSize: Int = 0)
Represents media data (image or audio) for multimodal LLM processing. Corresponds to the AILIALLMMediaData C structure.
Link copied to clipboard
Represents the multimodal capabilities of a loaded LLM model.
Link copied to clipboard
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.