Valkey is an open source, high-performance key/value datastore that supports workloads such as caching, message queues, and can act as a primary database. Valkey can run as either a standalone daemon or in a cluster, with options for replication and high availability.This page covers how to use the Valkey vector store with Amazon ElastiCache for Valkey or Amazon MemoryDB for Valkey.
设置
Install the required dependencies:The Valkey integration requires
langchain-aws>=1.5.0. If you’re using an earlier version, install the dependency directly:基本用法
With Bedrock Embeddings
With Ollama Embeddings
Connection URLs
ValkeyVectorStore supports various connection URL formats:AWS ElastiCache for Valkey
Metadata Filtering
Custom Vector Schema
API Reference
For detailed API documentation, seeValkeyVectorStore.
连接这些文档到 Claude、VSCode 等工具,通过 MCP 获取实时答案。

