Amazon Web Services
In this informative video, AWS Senior Developer Advocate Mike Chambers demonstrates how to integrate foundation models into your code using Amazon Bedrock. He walks through using Boto3, the Python SDK for AWS, to make text generations with models like Anthropic Claude and AI21 Labs Jurassic. Mike showcases how to set up the Bedrock client, construct prompts, and invoke models using both standard and streaming methods. The video provides practical examples of working with different models and extracting generated text from API responses. Developers will learn how to leverage code snippets from the AWS console to simplify integration and get started quickly with generative AI capabilities in their applications.
00:00 Introduction
00:23 Generation with Jurassic
05:13 Generation with Claude
08:50 Invoke with Response Stream
10:58 Outro