Skip to main content

An integration package connecting OceanBase and LangChain

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_oceanbase-0.2.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

langchain_oceanbase-0.2.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file langchain_oceanbase-0.2.0.tar.gz.

File metadata

  • Download URL: langchain_oceanbase-0.2.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for langchain_oceanbase-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e6313aeb265e3de80ecd5189978273d209100319bb1beba1e27f9e0a9c55bf5a
MD5 d52b4362e91ab9d713ad7251c2922a01
BLAKE2b-256 fdf0e8a2e87355f0105ca551c7fc08c066853df0cf91718b50bc6b1ca6ec02cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_oceanbase-0.2.0.tar.gz:

Publisher: python-publish.yml on oceanbase/langchain-oceanbase

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file langchain_oceanbase-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_oceanbase-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4ddf60f7e72939cfc3e9d174e94ab136bde20a101ee2bbc4f0561734036100c
MD5 7ae9d549bb4f64f9162c59a516182db0
BLAKE2b-256 7805fa4449f72b75acdef905a86541db375589c326c36932c2ac31afc5c3c190

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_oceanbase-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on oceanbase/langchain-oceanbase

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page