chatHistory
that backs chat memory classes like BufferMemory
for a Cassandra cluster.
Setup
First, install the Cassandra Node.js driver:npm
configConnection
which will be used as part of the vector store configuration.
Apache Cassandra®
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:
.