Closed hlmiao closed 1 year ago
for that replace that utils with https://github.com/MAGICALAMIGO-HUB/utils_for_bedrock just take the utils folder and replace it to your location /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages/utils/
Please use boto3
. I have included the solution at Pr 159.
For a simpler version I have created a sample setup guide until this gets merged at BedrockBoto3Setup
it doesn't look it is merged because today March 1, i cloned repo and the problem is still there
if i am experiencing the error in sagemaker studio , how can i add your utils package there
I am getting the error when i am running this python in sagemaker in my aws account.
https://github.com/aws-samples/amazon-bedrock-workshop/blob/main/00_Intro/bedrock_boto3_setup.ipynb
Unfortunately, the team still hasn't reviewed. Can you try cloning the repo that I have inserted in the above comment?
how can i clone it? that is my question. please answer in the context that I am running this in sagemaker https://github.com/aws-samples/amazon-bedrock-workshop/blob/main/00_Intro/bedrock_boto3_setup.ipynb
your instruction is saying put it in a specific folder but because i am running it in sagemaker cloud, i don't have access to the location you are saying.
I experienced the following error after running this line “from utils import bedrock, print_ww” in https://github.com/aws-samples/amazon-bedrock-workshop/blob/main/00_Intro/bedrock_boto3_setup.ipynb