AWS Machine Learning Blog· Pallav Gupta·· 14 天前AI 评分46
降低 Amazon Bedrock AgentCore JSON 工作负载的 token 成本与延迟
Reducing token costs and latency in Amazon Bedrock AgentCore JSON workloads
AI 导读
针对 Flightscape 机组排班优化智能体处理 20 MB+ JSON 负载时 token 消耗与延迟过高的问题,团队用三种可组合策略将 token 消耗最多降低 71%、平均延迟最多降低 80%(基于 23 MB 代表性负载的基准测试)。该智能体基于 LangGraph 构建、运行在 Amazon Bedrock AgentCore 上,拥有 40+ 工具,此前多数请求平均延迟超过 15 秒,且每次工具调用都把完整负载注入模型上下文窗口。
来源:AWS Machine Learning Blog · aws.amazon.com