返回全部动态

Amazon Bedrock 为 Claude 模型推出结构化输出

原标题:Structured outputs for Anthropic Claude models on Amazon Bedrock

AWS Machine Learning Blog一手来源API 更新质量 67

AI 摘要

AWS 宣布 Amazon Bedrock 上所有 Anthropic Claude 模型现已支持结构化输出,覆盖 bedrock-runtime 与 bedrock-mantle 两个端点。该功能通过约束解码在生成阶段强制 JSON Schema,使输出从概率性变为确定性,开发者无需再自行解析、重试或后处理。同时提供严格工具调用(strict tool use)以校验智能体工作流中的工具参数,并支持批处理、跨区域推理与流式输出。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

Structured outputs for Anthropic Claude models on Amazon Bedrock 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


发布时间:2026-10-20 07:32
抓取时间:2026-10-20 08:17
来源机构:AWS
阅读原文aws.amazon.com