chatHistory
that backs chat memory classes like BufferMemory
for Astra DB.
AstraDBChatMessageHistory
If you already have an instance of the AstraDB
client defined you can connect to your collection and initialize an instance of the ChatMessageHistory
using the constuctor.
AstraDB
client you can use the initialize
method.