

# AIAdapterSource
<a name="API_AIAdapterSource"></a>

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

## Contents
<a name="API_AIAdapterSource_Contents"></a>

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

 ** ModelPackageArns **   <a name="sagemaker-Type-AIAdapterSource-ModelPackageArns"></a>
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](API_AIAdapterModelPackageEntry.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 10 items.  
Required: No

 ** S3Uris **   <a name="sagemaker-Type-AIAdapterSource-S3Uris"></a>
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](API_AIAdapterS3Entry.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 10 items.  
Required: No

## See Also
<a name="API_AIAdapterSource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/sagemaker-2017-07-24/AIAdapterSource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/AIAdapterSource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/AIAdapterSource) 