mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
c710c7303f
This fixes the exampe import line in the general "cassandra" doc page mdx file. (it was erroneously a copy of the chat message history import statement found below).
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Cassandra
|
|
|
|
>[Apache Cassandra®](https://cassandra.apache.org/) is a free and open-source, distributed, wide-column
|
|
> store, NoSQL database management system designed to handle large amounts of data across many commodity servers,
|
|
> providing high availability with no single point of failure. Cassandra offers support for clusters spanning
|
|
> multiple datacenters, with asynchronous masterless replication allowing low latency operations for all clients.
|
|
> Cassandra was designed to implement a combination of _Amazon's Dynamo_ distributed storage and replication
|
|
> techniques combined with _Google's Bigtable_ data and storage engine model.
|
|
|
|
## Installation and Setup
|
|
|
|
```bash
|
|
pip install cassandra-driver
|
|
pip install cassio
|
|
```
|
|
|
|
|
|
|
|
## Vector Store
|
|
|
|
See a [usage example](/docs/integrations/vectorstores/cassandra).
|
|
|
|
```python
|
|
from langchain.vectorstores import Cassandra
|
|
```
|
|
|
|
|
|
|
|
## Memory
|
|
|
|
See a [usage example](/docs/integrations/memory/cassandra_chat_message_history).
|
|
|
|
```python
|
|
from langchain.memory import CassandraChatMessageHistory
|
|
```
|