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.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_oceanbase-0.2.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_oceanbase-0.2.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for langchain_oceanbase-0.2.2.tar.gz
Algorithm Hash digest
SHA256 14fa5f3cc982d3f4064c41e970a9ef580dbd35db5af2ced66ad9667deacb5902
MD5 db191c4a8bb3253082f27feea3079888
BLAKE2b-256 56a53ad2c22f685548b62a4646a5bca6f902be5b803ddcef5471609c1daac13d

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_oceanbase-0.2.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_oceanbase-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0d9fd028bb084996d959c99b161675147e62941189a0ee907fbeafe991206e6
MD5 05bb4831931f0e7c291ba705459b73fd
BLAKE2b-256 5a19c5e2e7a0e1f6a44ab23e8c396003b7d545ed0b418749eebdb34d470772c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_oceanbase-0.2.2-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page