Companion object providing LLM provider instances and utilities.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LLMProvider.type
Members list
Type members
Classlikes
Anthropic provider for Claude models.
Anthropic provider for Claude models.
Supports Claude 3.5 Sonnet, Claude 3 Opus, and other Anthropic models. Features extended thinking capability for complex reasoning tasks.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
Anthropic.type
Azure OpenAI Service provider.
Azure OpenAI Service provider.
Provides access to OpenAI models via Azure cloud infrastructure. Requires Azure-specific configuration including endpoint and API version.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
Azure.type
Ollama provider for local model inference.
Ollama provider for local model inference.
Runs models locally without external API dependencies. Supports various open-source models like Llama, Mistral, etc.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
Ollama.type
OpenAI provider for GPT models.
OpenAI provider for GPT models.
Supports GPT-4, GPT-3.5-turbo, and other OpenAI models. Requires an OpenAI API key.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
OpenAI.type
OpenRouter provider for unified model access.
OpenRouter provider for unified model access.
Provides access to multiple LLM providers through a single API. Supports reasoning effort parameter for compatible models.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LLMProviderclass Objecttrait Matchableclass AnyShow all
- Self type
-
OpenRouter.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Parses a provider name string to LLMProvider.
Parses a provider name string to LLMProvider.
Value parameters
- name
-
provider name (case-insensitive)
Attributes
- Returns
-
Some(provider) if valid, None otherwise
Concrete fields
All available providers
All available providers