AWS Bedrock with Lambda Demo - Get Access to Many Gen AI Models and Use with Python Code

preview_player
Показать описание
In this video we will get access to Amazon Bedrock Gen AI models. Then we will include Boto3 SDK for Bedrock in a Lambda layer and use it in our code. Finally, we will show different use cases using various models - Anthropic Claude2, A12 Jurassic Ultra, Cohere etc. All these for almost free (less than $0.01)!

⭐️ Want to connect with me?

#genai #cloudwithraj #amazonbedrock
Рекомендации по теме
Комментарии
Автор

Note: There is NO charge for getting access to Gen AI models in Bedrock. You only get charged if you use the model.

cloudwithraj
Автор

Really nice video! Thanks for the simple tutorial! Looks like AWS has added yet another awesome service - Bedrock!

rohanr
Автор

as always awesome video, one small suggestion. If you could change the color of your mouse to lime or whatever of your choice. it would be better to follow your clicks. Thanks!!

kkb_now_i_have_a_handle
Автор

One question - Enabling model access won’t cost us any money….right? We will be using shared models in that case, not ones that are provisioned in our own account. So it’s kind of serverless. Is this understanding correct?

ankushjain
Автор

hey when i try to test the lambda function it gives me this error:
An error occurred (AccessDeniedException) when calling the InvokeModel operation: Your account is not authorized to invoke this API operation.

how can i fix this?

onlytheflames
Автор

Can you share the AWS policy (example)?

lambda_bedrock_role**

JoseLuisCornejoRivas
Автор

Sir no udemy code is being applied, the courses are around 2000 - 3000 Rs

kritika
Автор

I followed your video and copied your code into the function and get this error. What should be the iam execution role?
"errorMessage": "An error occurred (AccessDeniedException) when calling the InvokeModel operation: User: is not authorized to perform: bedrock:InvokeModel on resource: because no identity-based policy allows the bedrock:InvokeModel action",
"errorType": "AccessDeniedException"

kmsum