AiliaLLMChatMessage

data class AiliaLLMChatMessage(val role: String, val content: String)

Represents a chat message for AiliaLLM. Each message has a role (system, user, or assistant) and content.

Constructors

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

Properties

Link copied to clipboard

The content of the message

Link copied to clipboard

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

Functions

Link copied to clipboard
open override fun toString(): String