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
# Create a model from a provideropenai_provider = Integration.create_openai(token="sk-...")models = openai_provider.modelsmodel = models[0]# Use model in experiment (serializes to string)experiment = Experiment( name="test", dataset_name="dataset", prompt_name="prompt", project_name="project", model=model # Automatically converts to string alias)# Model is immutablemodel.alias = "new-value" # Raises AttributeError