Skip to content

ModelMapping

Structure Class

ModelMapping dataclass

Bases: _SerdeShape

The configuration that translates model IDs between client-facing names and provider model IDs.

Attributes

provider_prefix class-attribute instance-attribute
provider_prefix: ProviderPrefix | None = ...

The provider prefix configuration used for model ID translation.