View a markdown version of this page

AIAdapterSource - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AIAdapterSource

The source of LoRA adapters for an AI recommendation job. This is a union type — specify exactly one of the members.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

ModelPackageArns

A list of LoRA adapters identified by their model package ARNs. Use this when your adapters were produced by a SageMaker AI fine-tuning workflow that registers model packages.

Type: Array of AIAdapterModelPackageEntry objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

S3Uris

A list of LoRA adapters identified by their Amazon S3 URIs. Use this when your adapters are stored as raw artifacts in Amazon S3.

Type: Array of AIAdapterS3Entry objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: