Skip to content

AIRecommendation

Source code in docs_src/capo_sagemaker/types/ai_recommendation.py
class AIRecommendation(TypedDict, closed=True):
    recommendation_description: NotRequired["capo_sagemaker.types.string.String"]
    """<p>A description of the recommendation.</p>"""
    optimization_details: NotRequired[
        "capo_sagemaker.types.ai_recommendation_optimization_detail_list.AIRecommendationOptimizationDetailList"
    ]
    """<p>The optimization techniques applied in this recommendation.</p>"""
    model_details: NotRequired[
        "capo_sagemaker.types.ai_recommendation_model_details.AIRecommendationModelDetails"
    ]
    """<p>Details about the model package associated with this recommendation.</p>"""
    deployment_configuration: NotRequired[
        "capo_sagemaker.types.ai_recommendation_deployment_configuration.AIRecommendationDeploymentConfiguration"
    ]
    """<p>The deployment configuration for this recommendation, including the container image, instance type, instance count, and environment variables.</p>"""
    ai_benchmark_job_arn: NotRequired[
        "capo_sagemaker.types.ai_benchmark_job_arn.AIBenchmarkJobArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the benchmark job associated with this recommendation.</p>"""
    expected_performance: NotRequired[
        "capo_sagemaker.types.expected_performance_list.ExpectedPerformanceList"
    ]
    """<p>The expected performance metrics for this recommendation.</p>"""
    adapter_details: NotRequired[
        "capo_sagemaker.types.ai_recommendation_adapter_details.AIRecommendationAdapterDetails"
    ]
    """<p>The LoRA adapter details for this recommendation. This field contains both the model package ARNs and Amazon S3 URIs for each adapter, regardless of which form was originally supplied. This field is absent when the job was created without LoRA adapters.</p>"""

adapter_details instance-attribute

adapter_details: NotRequired[AIRecommendationAdapterDetails]

The LoRA adapter details for this recommendation. This field contains both the model package ARNs and Amazon S3 URIs for each adapter, regardless of which form was originally supplied. This field is absent when the job was created without LoRA adapters.

ai_benchmark_job_arn instance-attribute

ai_benchmark_job_arn: NotRequired[AIBenchmarkJobArn]

The Amazon Resource Name (ARN) of the benchmark job associated with this recommendation.

deployment_configuration instance-attribute

deployment_configuration: NotRequired[AIRecommendationDeploymentConfiguration]

The deployment configuration for this recommendation, including the container image, instance type, instance count, and environment variables.

expected_performance instance-attribute

expected_performance: NotRequired[ExpectedPerformanceList]

The expected performance metrics for this recommendation.

model_details instance-attribute

model_details: NotRequired[AIRecommendationModelDetails]

Details about the model package associated with this recommendation.

optimization_details instance-attribute

optimization_details: NotRequired[AIRecommendationOptimizationDetailList]

The optimization techniques applied in this recommendation.

recommendation_description instance-attribute

recommendation_description: NotRequired[String]

A description of the recommendation.