LLMProvider

abstract class LLMProvider(val id: String, val display: String)(source)

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

This sealed class allows enumeration of specific providers like Google, OpenAI, Meta, etc., and serves as a common base type for handling providers within the system.

Inheritors

Constructors

Link copied to clipboard
constructor(id: String, display: String)

Types

Link copied to clipboard

Represents Alibaba as a specific provider of Large Language Models (LLMs).

Link copied to clipboard

Represents the Anthropic LLM provider.

Link copied to clipboard

Represents the AWS Bedrock provider within the available set of large language model providers.

Link copied to clipboard

Represents a specialized implementation of the LLMProvider class corresponding to the Google provider.

Link copied to clipboard

Represents the "Meta" large language model provider in the system.

Link copied to clipboard

Represents the Ollama provider within the available set of large language model providers.

Link copied to clipboard

Represents the OpenAI provider in the Large Language Model (LLM) ecosystem.

Link copied to clipboard

Represents the OpenRouter provider within the available set of large language model providers.

Properties

Link copied to clipboard

The human-readable name of the LLM provider.

Link copied to clipboard
val id: String

The unique identifier of the LLM provider.