workshops gen-ai-chatbot

0

I was trying to follow the tutorial on Youtube about the creation of a gen AI based chatbot, during the test phase of the chatbot it gives me the following error on the screenshot.

I tried to add less restrictive iam policy to the sagemaker in order to let it access kendra/bedrock/S3.

but it still doesn't work.

error screenshot

thanks in advance.

2 Answers
0
Accepted Answer

Hello,

looks like you might not have enabled the foundation model that you are using, Can you enable the model from the Bedrock console using Add model access

Also review the Amazon Bedrock pricing for the models that you are enabling

AWS
answered 13 days ago
profile picture
EXPERT
reviewed 13 days ago
  • I found the problem is that I have configured in the code us-west-2 but actually I uses eu-west-2 as region, thank you very much for the help

0

models that I required access

I required access on several models, and I'm using Titan Express model.

mao
answered 13 days ago