Skip to main content

Model

Immutable representation of a model from an integration provider. Models are associated with specific providers (OpenAI, Azure, Bedrock, etc.) and represent available LLM models that can be used in experiments and logging. The Model class is immutable once created and serializes to a string (model alias) when used in API calls or function parameters. Examples

alias

Get the model alias.

name

Get the model name.

provider_name

Get the provider name.

to_dict

Convert model to dictionary representation.

Returns

dict: Dictionary with model properties.