Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Amazon Bedrock adds structured outputs for Claude models

AI summary

Amazon Bedrock now supports structured outputs for all available Anthropic Claude models through its bedrock-runtime and bedrock-mantle endpoints. The feature uses constrained decoding to enforce JSON schemas during generation and adds strict schema validation for tool parameters, reducing custom parsing and retry logic for production workflows.

In-depth insight

AWS says schema-compliant JSON and strict tool use can make Claude-based data extraction, API responses and agentic workflows more reliable without additional schema-validation code.

Amazon Bedrock now supports structured outputs for all Anthropic Claude models, on both the bedrock-runtime and bedrock-mantle endpoints, where the model is available.

Whether you call Claude through Boto3 and the bedrock-runtime APIs or through the Messages API and the bedrock-mantle endpoint, you can now receive schema-compliant JSON responses that conform to a defined structure. You no longer need custom parsing, retry logic, or post-processing.

Practical applications

With structured outputs for Claude on Amazon Bedrock, you can automate reliable, schema-compliant tasks across industries. Examples include extracting every required field from financial earnings reports and compliance documents, parsing clinical notes into Electronic Health Records (EHR), and enriching product catalogs with consistent, validated results. You can also analyze contracts for key terms, parties, and obligations, or power intelligent support ticket routing where intents, sentiments, and entities always match your application’s data model.

What changes with structured outputs on Amazon Bedrock

Structured outputs use constrained decoding to enforce your JSON schema during token generation, not after the fact. The model doesn’t produce tokens that would violate your schema. This changes output formatting from probabilistic to deterministic.

#Amazon Bedrock#Amazon Web Services#Anthropic#Claude#Amazon Bedrock Mantle#Claude Sonnet 5

Original · 9 min readRead the original
Group chat

No comments yet. Start the conversation.