View a markdown version of this page

先決條件 - Amazon ElastiCache

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

先決條件

若要使用 ElastiCache for Valkey 實作代理式記憶體,您需要:

  1. 可存取 Amazon Bedrock AWS 的帳戶,包括 Amazon Bedrock AgentCore 執行期和內嵌模型。

  2. 執行 Valkey 8.2 或更新版本的 ElastiCache 叢集。Valkey 8.2 包含向量相似性搜尋的支援。如需建立叢集的指示,請參閱 為 Valkey 或 Redis OSS 建立叢集

  3. 與 ElastiCache 叢集位於相同 Amazon VPC 內的 Amazon Elastic Compute Cloud 執行個體或其他運算資源。

  4. Python 3.11 或更新版本搭配下列套件:

    pip install strands-agents strands-agents-tools strands-agents-builder pip install mem0ai "mem0ai[vector_stores]"