CassandraByteStore
features and configurations head to the API reference.
Class | Package | Local | JS support | Package downloads | Package latest |
---|---|---|---|---|---|
CassandraByteStore | langchain-community | ✅ | ✅ |
CassandraByteStore
is an implementation of ByteStore
that stores the data in your Cassandra instance.
The store keys must be strings and will be mapped to the row_id
column of the Cassandra table.
The store bytes
values are mapped to the body_blob
column of the Cassandra table.
CassandraByteStore
integration lives in the langchain-community
package. You’ll also need to install the cassio
package or the cassandra-driver
package as a peer dependency depending on which initialization method you’re using:
cassandra.cluster.Session
object, as described in the Cassandra driver documentation. The details vary (e.g. with network settings and authentication), but this might be something like:
cassandra.cluster.Session
object, as described in the Cassandra driver documentation. The details vary (e.g. with network settings and authentication), but this might be something like:
mset
method:
mdelete
method:
cassio
CassandraByteStore
features and configurations, head to the API reference: python.langchain.com/api_reference/community/storage/langchain_community.storage.cassandra.CassandraByteStore.html