ReliableClient

org.llm4s.reliability.ReliableClient
See theReliableClient companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Wrap a client with default reliability configuration. Provider name derived from client class name (use withProviderName for custom).

Wrap a client with default reliability configuration. Provider name derived from client class name (use withProviderName for custom).

Attributes

Wrap a client with custom reliability configuration. Provider name derived from client class name (use withProviderName for custom).

Wrap a client with custom reliability configuration. Provider name derived from client class name (use withProviderName for custom).

Attributes

def apply(client: LLMClient, config: ReliabilityConfig, collector: MetricsCollector): ReliableClient

Wrap a client with reliability + metrics. Provider name derived from client class name (use withProviderName for custom).

Wrap a client with reliability + metrics. Provider name derived from client class name (use withProviderName for custom).

Attributes

def withProviderName(client: LLMClient, providerName: String, config: ReliabilityConfig, collector: Option[MetricsCollector]): ReliableClient

Wrap a client with explicit provider name (recommended for production).

Wrap a client with explicit provider name (recommended for production).

Attributes