Skip to content

This package contains the LangChain integration with OceanBase.

License

Notifications You must be signed in to change notification settings

oceanbase/langchain-oceanbase

Repository files navigation

langchain-oceanbase

This package contains the LangChain integration with OceanBase.

OceanBase Database 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

pip install -U langchain-oceanbase

We recommend using Docker to deploy OceanBase:

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

Usage

For a more detailed walkthrough of the OceanBase Wrapper, see this notebook

About

This package contains the LangChain integration with OceanBase.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published