跳到正文
AWS Machine Learning Blog·· 2026-10-27

Groundhog Day for AI agents: Prompt caching patterns for using OpenAI models on Amazon Bedrock

Groundhog Day for AI agents: Prompt caching patterns for using OpenAI models on Amazon Bedrock

中文摘要

每次代理采取一个步骤时,它都会在行动前重新阅读整个上下文。以下是 Amazon Bedrock 上针对 OpenAI 模型的提示缓存功能如何让您的代理记住信息,从而降低输入成本和延迟,而无需每一步都重新发送相同的工具、指令和历史记录。

英文原文

Every time an agent takes a step, it re-reads its entire context before acting. Here is how prompt caching for OpenAI models on Amazon Bedrock lets your agent remember, cutting input cost and latency without resending the same tools, instructions, and history every turn.

应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。

来源:AWS Machine Learning Blog · aws.amazon.com