2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
os.environ["AWS_DEFAULT_REGION"] - The region where you have access to the Bedrock. Sample value : us-east-1
os.environ["AWS_PROFILE"] = "<YOUR_PROFILE>" - If you run the notebook from your local, the profile you have setup in your local environment which has access to the Bedrock.
os.environ["BEDROCK_ASSUME_ROLE"] = "<YOUR_ROLE_ARN>" - IAM Role which has access to the Bedrock
Please refer the following link which has the boto3 setup instructions - Create the boto3 client
https://github.com/aws-samples/amazon-bedrock-workshop/blob/6c6997b042b8d493b74d2e8ece3eff4dce96a95c/00_Intro/bedrock_boto3_setup.ipynb#Prerequisites
답변함 2달 전
0
Hi Josh, Before you begin any of the modules in the workshop you need to run the Workshop set up located at
If you are already in the notebook session, you can find this module at: 00_Intro -> bedrock_boto3_setup.ipynb then proceed to run all cells.
답변함 2달 전
관련 콘텐츠
- AWS 공식업데이트됨 3년 전