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
object Companion

Companion object for the LLMProvider class, providing predefined instances 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.