ChainletEnvironmentSettingsRequest¶
- class baseten.client.managementapi.ChainletEnvironmentSettingsRequest(*, chainlet_name, autoscaling_settings=None, instance_type_id='1x2')¶
Bases:
BaseModel- Parameters:
chainlet_name (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Chainlet Name', description='Name of the chainlet', examples=['HelloWorld'])])
autoscaling_settings (Annotated[UpdateAutoscalingSettings | None, FieldInfo(annotation=NoneType, required=True, description='Autoscaling settings for the chainlet', examples=[{'autoscaling_window': 60, 'concurrency_target': 1, 'max_replica': 1, 'max_scale_down_rate': None, 'min_replica': 0, 'scale_down_delay': 900, 'target_in_flight_tokens': None, 'target_utilization_percentage': 70}])])
instance_type_id (Annotated[str | None, FieldInfo(annotation=NoneType, required=True, title='Instance Type Id', description='ID of the instance type to use for the chainlet', examples=['1x4', '2x8', 'A10G:2x24x96', 'H100:2x52x468'])])
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].