Package-level declarations
Types
Link copied to clipboard
Content of the attachment, check implementation nested classes for supported content types.
Link copied to clipboard
Represents a part of a message. Parts can be text ContentPart.Text, images ContentPart.Image, audio ContentPart.Audio, or files ContentPart.File. All attachment parts (all except ContentPart.Text) must implement Attachment interface.
Link copied to clipboard
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
Meta-information associated with a message in a chat system.
Link copied to clipboard
data class RequestMetaInfo(val timestamp: Instant, val metadata: JsonObject? = null) : 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(), val metadata: JsonObject? = null) : MessageMetaInfo
Represents metadata associated with a response message in a chat system.