Package-level declarations

Types

Link copied to clipboard

Represents a specific capability or feature of an LLM (Large Language Model). This is a sealed class, where each capability is represented as a subclass or data object.

Link copied to clipboard
data class LLModel(val provider: LLMProvider, val id: String, val capabilities: List<LLMCapability>, val contextLength: Long, val maxOutputTokens: Long? = null)

Represents a Large Language Model (LLM) with a specific provider, identifier, and a set of capabilities.

Link copied to clipboard
abstract class LLMProvider(val id: String, val display: String)

Represents a sealed hierarchy for defining Large Language Model (LLM) providers. Each LLM provider is uniquely identified by an id and a display name.

Link copied to clipboard

Represents a collection of predefined Large Language Models (LLM) categorized by makers. Each maker contains specific models with configurations such as unique identifiers and capabilities.

Functions

Link copied to clipboard

Converts this LLModel to a ModelInfo instance