CassandraKVStore
BaseStore
integration. Note there is a CassandraChatMessageHistory
integration which may be easier to use for chat history storage; the CassandraKVStore
is useful if you want a more general-purpose key-value store with
prefixable keys.
Setup
npm
configConnection
which will be used as part of the store configuration.
Apache Cassandra®
Storage Attached Indexes (used byyieldKeys
) are supported in Apache Cassandra® 5.0 and above. You can use a standard connection document, for example:
Astra DB
Astra DB is a cloud-native Cassandra-as-a-Service platform.- Create an Astra DB account.
- Create a vector enabled database.
- Create a token for your database.
endpoint:
, you many provide property datacenterID:
and optionally regionName:
.