创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

Bedrock为Claude模型加入结构化输出

AI 总结

Amazon Bedrock现已通过bedrock-runtime和bedrock-mantle端点,为所有可用的Anthropic Claude模型提供结构化输出。该功能在生成过程中采用约束解码来执行JSON Schema,并为工具参数提供严格的Schema校验,从而减少生产工作流中的自定义解析和重试逻辑。

深度见解

AWS表示,符合Schema的JSON和严格工具调用可让Claude的数据提取、API响应及智能体工作流更可靠,并减少额外的Schema校验代码。

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

原文约 9 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。