mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
3f64b8a761
Description: Adds Rockset as a chat history store Dependencies: no changes Tag maintainer: @hwchase17 This PR passes linting and testing. I added a test for the integration and an example notebook showing its use.
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
# Rockset
|
|
|
|
>[Rockset](https://rockset.com/product/) is a real-time analytics database service for serving low latency, high concurrency analytical queries at scale. It builds a Converged Index™ on structured and semi-structured data with an efficient store for vector embeddings. Its support for running SQL on schemaless data makes it a perfect choice for running vector search with metadata filters.
|
|
|
|
## Installation and Setup
|
|
|
|
Make sure you have Rockset account and go to the web console to get the API key. Details can be found on [the website](https://rockset.com/docs/rest-api/).
|
|
|
|
```bash
|
|
pip install rockset
|
|
```
|
|
|
|
## Vector Store
|
|
|
|
See a [usage example](/docs/integrations/vectorstores/rockset).
|
|
|
|
```python
|
|
from langchain.vectorstores import Rockset
|
|
```
|
|
|
|
## Document Loader
|
|
|
|
See a [usage example](/docs/integrations/document_loaders/rockset).
|
|
```python
|
|
from langchain.document_loaders import RocksetLoader
|
|
```
|
|
|
|
## Chat Message History
|
|
|
|
See a [usage example](/docs/integrations/memory/rockset_chat_message_history).
|
|
```python
|
|
from langchain.memory.chat_message_histories import RocksetChatMessageHistory
|
|
``` |