AstraDBByteStore features and configurations head to the API reference.
Overview
DataStax Astra DB is a serverless
AI-ready database built on Apache Cassandra® and made conveniently available
through an easy-to-use JSON API.
Integration details
| Class | Package | Local | JS support | Downloads | Version |
|---|---|---|---|---|---|
| AstraDBByteStore | langchain-astradb | ❌ | ❌ |
Setup
To create anAstraDBByteStore byte store, you’ll need to create a DataStax account.
Credentials
After signing up, set the following credentials:Installation
The LangChain AstraDB integration lives in thelangchain-astradb package:
Instantiation
Now we can instantiate our byte store:Usage
You can set data under keys like this using themset method:
mdelete method:
AstraDBByteStore anywhere you’d use other ByteStores.
API reference
For detailed documentation of allAstraDBByteStore features and configurations, head to the API reference: python.langchain.com/api_reference/astradb/storage/langchain_astradb.storage.AstraDBByteStore.html
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.