Package-level declarations

Types

Link copied to clipboard
sealed interface Attachment

Represents different types of content that can be attached to messages. Check nested implementation classes for supported formats and details.

Link copied to clipboard

Content of the attachment, check implementation nested classes for supported content types.

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, val additionalInfo: Map<String, String> = emptyMap()) : MessageMetaInfo

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