DataStax Astra DB is a serverless
AI-ready database built on Apache Cassandra®
and made conveniently availablev
through an easy-to-use JSON API.
This notebook goes over how to use Astra DB to store chat message history.
Setup
To run this notebook you need a running Astra DB. Get the connection secrets on your Astra dashboard:- the API Endpoint looks like
https://01234567-89ab-cdef-0123-456789abcdef-us-east1.apps.astra.datastax.com
; - the Database Token looks like
AstraCS:aBcD0123...
.
Set up the database connection parameters and secrets
Example
AstraDBChatMessageHistory