Skip to main content

Langchain VDMS

GitHub License

This package contains the VDMS integration package for LangChain:

  • langchain-vdms - An integration between LangChain and VDMS which enables retrievers and vector search for AI applications.

Installation

pip install -U langchain-vdms

VDMS vector database

The VDMS class exposes the VDMS vector store.

from langchain_vdms import VDMS

The VDMS_Client function connects to VDMS server using VDMS client.

from langchain_vdms.vectorstores import VDMS_Client

The VDMS_Utils class exposes a utility with helpful functions related to VDMS.

from langchain_vdms.vectorstores import VDMS_Utils

Example Usage

This example initiates the VDMS vector store and uses the VDMS Client to connect to a VDMS server on localhost using port 55555.

from langchain_vdms.vectorstores import VDMS, VDMS_Client

embeddings = ... # use a LangChain Embeddings class

vectorstore_client = VDMS_Client("localhost", 55555)
vectorstore = VDMS(
    client=vectorstore_client,
    collection_name="foo",
    embedding=embeddings,
    engine="FaissFlat",
    distance_strategy="L2",
)

See additional usage here.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for langchain-vdms 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-vdms 0.2.0
File Size Uploaded Provenance Actions
langchain_vdms-0.2.0.tar.gz 18.7 kB Without provenance Details for langchain_vdms-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-vdms 0.2.0
File Interpreter ABI Platform Actions
langchain_vdms-0.2.0-py3-none-any.whl Python 3 none any Details for langchain_vdms-0.2.0-py3-none-any.whl

Total release size: 38.0 kB

Release files / langchain_vdms-0.2.0.tar.gz

Download URL langchain_vdms-0.2.0.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8eb4b5a48d719e55068379077c7f5ef4c13613b4d4f7bd679a1d08e4ede8baa0
BLAKE2b-256 checksum
How to use checksums
56d11b5edca6b7486f4f5b6ab55316634597f488ecd832d4704e0d94f3468dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.13 Linux/5.4.0-216-generic

Release files / langchain_vdms-0.2.0-py3-none-any.whl

Download URL langchain_vdms-0.2.0-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3792c3e3ac9e92ac6dbc34b0dbf8484f8adf84bc3b1ee0c35a1f6d78e7274ec4
BLAKE2b-256 checksum
How to use checksums
a2c6e6f36bd55129790570aa22682ce301a26c1ba76c29a52fd63dc5e9630931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.13 Linux/5.4.0-216-generic

Security for langchain-vdms 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page