LLMProviderFactory<T extends ChatCapability> class abstract

Factory interface for creating LLM provider instances

This interface allows for extensible provider registration where users can add custom providers without modifying the core library.

Implementers

Constructors

LLMProviderFactory.new()

Properties

description String
Get description of this provider
no setter
displayName String
Get human-readable name for this provider
no setter
hashCode int
The hash code for this object.
no setterinherited
providerId String
Unique identifier for this provider
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedCapabilities Set<LLMCapability>
Set of capabilities this provider supports
no setter

Methods

create(LLMConfig config) → T
Create a provider instance from the given configuration
getDefaultConfig() LLMConfig
Get default configuration for this provider
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateConfig(LLMConfig config) bool
Validate that the configuration is valid for this provider

Operators

operator ==(Object other) bool
The equality operator.
inherited