We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.
If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”
Customize cookie preferences
We use cookies and similar tools (collectively, "cookies") for the following purposes.
Essential
Essential cookies are necessary to provide our site and services and cannot be deactivated. They are usually set in response to your actions on the site, such as setting your privacy preferences, signing in, or filling in forms.
Performance
Performance cookies provide anonymous statistics about how customers navigate our site so we can improve site experience and performance. Approved third parties may perform analytics on our behalf, but they cannot use the data for their own purposes.
Allowed
Functional
Functional cookies help us provide useful site features, remember your preferences, and display relevant content. Approved third parties may set these cookies to provide certain site features. If you do not allow these cookies, then some or all of these services may not function properly.
Allowed
Advertising
Advertising cookies may be set through our site by us or our advertising partners and help us deliver relevant marketing content. If you do not allow these cookies, you will experience less relevant advertising.
Allowed
Blocking some types of cookies may impact your experience of our sites. You may review and change your choices at any time by selecting Cookie preferences in the footer of this site. We and selected third-parties use cookies or similar technologies as specified in the AWS Cookie Notice.
Your privacy choices
We display ads relevant to your interests on AWS sites and on other properties, including cross-context behavioral advertising. Cross-context behavioral advertising uses data from one site or app to advertise to you on a different company’s site or app.
To not allow AWS cross-context behavioral advertising based on cookies or similar technologies, select “Don't allow” and “Save privacy choices” below, or visit an AWS site with a legally-recognized decline signal enabled, such as the Global Privacy Control. If you delete your cookies or visit this site from a different browser or device, you will need to make your selection again. For more information about cookies and how we use them, please read our AWS Cookie Notice.
Anthropic’s Claude 3 LLMs have landed on Amazon Bedrock, opening a new chapter for building generative AI applications. Claude 3, including Haiku, Sonnet, and Opus, is a family of GPT-4 level models designed for various needs. The models are multimodal from the start, making them capable of processing both text and images. You've got Haiku for speed, Sonnet for a balance of speed and intelligence, and Opus for when you need the heavy lifting of deep intelligence. Let's explore how you can start building with the Claude 3 models today.
Claude 3 Benchmarks
How to create an API request with Claude 3
One of the major upgrades with Claude 3 over Claude 2 is its enhanced understanding and processing capabilities. Not only does Claude 3 provide more accurate and nuanced responses, but it also introduces a more efficient way of handling requests through the message format. This shift ensures that developers can leverage the model's capabilities more effectively, leading to faster development cycles and more intelligent applications.
Claude 3 accuracy
To make an API request with Claude 3, you'll need to use the message format, which is a structured way to communicate with the model. This method is straightforward and allows for more complex interactions. Below is a basic example of how you would send a request in Python:
Check out the full guide and more examples on our GitHub here.
How to process images with Claude 3
The ability for Claude 3 to process images is a game-changer. Think about automating tasks that involve user-uploaded content or quickly analyzing charts and graphs without manual input. Claude 3 can handle:
Photos
Charts and graphs
Technical diagrams
This opens up a ton of possibilities for creating more interactive and intelligent applications, like auto captioning.
Cat Jumping into water
To make an image API request, you'll first need to convert your image to a base64 string, which Claude 3 can process. This step is crucial for transmitting image data over the API. Below is an example snippet to illustrate how you might send such a request:
For detailed instructions and full code examples, visit our GitHub here.
Let's Create the Future
The arrival of Anthropic’s Claude 3 LLMs marks a pivotal moment for generative AI development on AWS. Claude’s combination of speed, intelligence, and multimodal capabilities offers a new way to start building. Get started on Amazon Bedrock with Claude 3 today and push the boundaries of what's possible.
Have an idea or question about getting started? Let's get the conversation going below. Together, we can redefine the art of possible with generative AI.
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.