View a markdown version of this page

使用短期記憶體 - Amazon Bedrock AgentCore

使用短期記憶體

在 AI 代理器中,您會編寫程式碼,將事件新增至 AgentCore 記憶體中的短期記憶體。這些事件會儲存為短期記憶體。它們構成了將結構化資訊擷取到長期記憶體的基礎。

下一節討論短期記憶體與 AWS SDK。如需使用 Amazon Bedrock AgentCore 範例儲存庫和 AWS SDK 的範例,請參閱案例:客戶使用 AgentCore 記憶體支援 AI 代理程式。如需其他 SDKs請參閱 Amazon Bedrock AgentCore 記憶體範例