LLModelDefinitions

Interface defining and managing configurations or metadata for supported Large Language Models (LLMs). This serves as a contract for providing LLM-specific definitions, capabilities, and configurations that are needed during interactions with LLM providers. Typically, implementations of this interface represent contextual information about various LLMs.

Functions

Link copied to clipboard
fun LLModelDefinitions.list(customModels: List<LLModel> = emptyList()): List<LLModel>

Retrieves a list of all LLModel instances defined within the current LLModelDefinitions.