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.1.tar.gz (8.5 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.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_oceanbase-0.2.1.tar.gz
  • Upload date:
  • Size: 8.5 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.1.tar.gz
Algorithm Hash digest
SHA256 c727c609ee9837a001d6a552ac0692f92e7a723a5beb580d8deab3bd1db8e18a
MD5 320216cb77d10aab10e01bb06c17f9d0
BLAKE2b-256 c0fb683cf1fa60f01812c2b2976098097ac0d6e4ade73383bc0be2632d3ba9c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for langchain_oceanbase-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ccda537ba22466cd212ad905565badc5c48576ab8812da6fa6522d31f56c80b5
MD5 fb844667c2e6fb828d910deab544ba68
BLAKE2b-256 54c69f71a24d5c2ca01553b5ef59a812d30bdabdb24edfe0c4645806da6fa5f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_oceanbase-0.2.1-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