Skip to content

Type Alias: LLMProvider

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / LLMProvider

Type Alias: LLMProvider<TParams, TOptions>

Section titled “Type Alias: LLMProvider<TParams, TOptions>”

LLMProvider<TParams, TOptions> = Provider<TOptions> & object

Defined in: src/types/provider.ts:474

Provider with LLM modality support.

Type alias for providers that support language model inference.

readonly optional __params: TParams

Internal

TParams = unknown

Model-specific parameters type

TOptions = unknown

Provider-specific options type