This repository contains examples for customers to get started using the Amazon Bedrock Service. This contains examples for all available foundational models
Added Region_id into retrieveAndGenerate function, allowing user to define which region the sagemaker is in. This will avoid validation error due to model arn not in service region, which occurs when sagemaker and bedrock model is not in the same region
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Added Region_id into retrieveAndGenerate function, allowing user to define which region the sagemaker is in. This will avoid validation error due to model arn not in service region, which occurs when sagemaker and bedrock model is not in the same region
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.