Skip to main content

Langchain binding for RisingLight

Project description

langchain-risinglight

Use RisingLight as a vector store for LangChain.

Usage

# Activate your virtual environment, i.e., using poetry
poetry new risinglight-test-environment
cd risinglight-test-environment
poetry add --dev maturin
poetry add git+https://github.com/skyzh/langchain-risinglight
# Install risinglight in the virtual env
poetry shell
git clone https://github.com/risinglightdb/risinglight
cd risinglight
maturin build -F python
pip install ./target/wheels/risinglight-*.whl --force-reinstall

Local Development

git clone https://github.com/skyzh/langchain-risinglight
cd langchain-risinglight
poetry env use 3.12
poetry install
poetry shell
git clone https://github.com/risinglightdb/risinglight ../risinglight
cd ../risinglight
maturin build -F python
pip install ./target/wheels/risinglight-*.whl --force-reinstall
cd ../langchain-risinglight
poetry run python example.py

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_risinglight-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

langchain_risinglight-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file langchain_risinglight-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_risinglight-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.2.0

File hashes

Hashes for langchain_risinglight-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0bad59011ce6539c4f9e26d5f5c66ec6900d61db5dfbdcd3419ef90d88ae85f8
MD5 92f2d6c10b2c37db91806bb612dc57d4
BLAKE2b-256 fbbcf9333986d089fdf1acb6cb2f0a498f38aa22906fa779db629a6753ae10a5

See more details on using hashes here.

File details

Details for the file langchain_risinglight-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_risinglight-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8096d7644ecc7396de76f4e980e5ea1bf0c9124a26f75cfb97dada580efacb1e
MD5 d0169dcd6b1b672e0a479f2d12841924
BLAKE2b-256 fc714dfae75cf52c7b23cfdd6a1f2a3f83016089188f9447544190e440fe4f8a

See more details on using hashes here.

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