Skip to content

GenerativeAiSettings

Source code in docs_src/capo_sagemaker/types/generative_ai_settings.py
class GenerativeAiSettings(TypedDict, closed=True):
    amazon_bedrock_role_arn: NotRequired["capo_sagemaker.types.role_arn.RoleArn"]
    """<p>The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that establishes <code>bedrock.amazonaws.com</code> as a service principal.</p>"""

amazon_bedrock_role_arn instance-attribute

amazon_bedrock_role_arn: NotRequired[RoleArn]

The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that establishes bedrock.amazonaws.com as a service principal.