LLModel
data class LLModel(val provider: LLMProvider, val id: String, val capabilities: List<LLMCapability>, val contextLength: Long, val maxOutputTokens: Long? = null)(source)
Represents a Large Language Model (LLM) with a specific provider, identifier, and a set of capabilities.
Constructors
Link copied to clipboard
constructor(provider: LLMProvider, id: String, capabilities: List<LLMCapability>, contextLength: Long, maxOutputTokens: Long? = null)
Properties
Link copied to clipboard
A list of capabilities supported by the LLM, such as temperature adjustment, tools usage, or schema-based tasks.
Link copied to clipboard
The context length of the LLM. This is the maximum number of tokens the LLM can process.
Link copied to clipboard
The maximum number of tokens that can be generated by the provider for the LLM.
Link copied to clipboard
The provider of the LLM, such as Google, OpenAI, or Meta.