Package-level declarations

Types

Link copied to clipboard

Represents different types of media content that can be attached to messages. Supports images, videos, audio files, and documents with base64 encoding capabilities.

Link copied to clipboard
sealed interface Message

Represents a message exchanged in a chat with LLM. Messages can be categorized by their type and role, denoting the purpose and source of the message.

Link copied to clipboard
sealed interface MessageMetaInfo

Meta-information associated with a message in a chat system.

Link copied to clipboard
data class RequestMetaInfo(val timestamp: Instant) : MessageMetaInfo

Represents MessageMetaInfo specific to a request within the system.

Link copied to clipboard
data class ResponseMetaInfo(val timestamp: Instant, val totalTokensCount: Int? = null, val inputTokensCount: Int? = null, val outputTokensCount: Int? = null) : MessageMetaInfo

Represents metadata associated with a response message in a chat system.