https://github.com/oceanbase/langchain-oceanbase
This package contains the LangChain integration with OceanBase.
https://github.com/oceanbase/langchain-oceanbase
Last synced: 3 months ago
JSON representation
This package contains the LangChain integration with OceanBase.
- Host: GitHub
- URL: https://github.com/oceanbase/langchain-oceanbase
- Owner: oceanbase
- License: mit
- Created: 2024-12-18T08:29:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-06T02:52:42.000Z (about 1 year ago)
- Last Synced: 2025-01-06T03:29:10.380Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 87.9 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# langchain-oceanbase
This package contains the LangChain integration with OceanBase.
[OceanBase Database](https://github.com/oceanbase/oceanbase) is a distributed relational database.
It is developed entirely by Ant Group. The OceanBase Database is built on a common server cluster.
Based on the Paxos protocol and its distributed structure, the OceanBase Database provides high availability and linear scalability.
OceanBase currently has the ability to store vectors. Users can easily perform the following operations with SQL:
- Create a table containing vector type fields;
- Create a vector index table based on the HNSW algorithm;
- Perform vector approximate nearest neighbor queries;
- ...
## Installation
```bash
pip install -U langchain-oceanbase
```
We recommend using Docker to deploy OceanBase:
```shell
docker run --name=ob433 -e MODE=slim -p 2881:2881 -d oceanbase/oceanbase-ce:4.3.3.0-100000132024100711
```
[More methods to deploy OceanBase cluster](https://github.com/oceanbase/oceanbase-doc/blob/V4.3.1/en-US/400.deploy/500.deploy-oceanbase-database-community-edition/100.deployment-overview.md)
### Usage
For a more detailed walkthrough of the OceanBase Wrapper, see [this notebook](./docs/vectorstores.ipynb)