🦜️🔗 LangChain NextPlaid
This repository contains 1 package with NextPlaid integrations with LangChain:
- langchain-plaid (WIP)
Overview
NextPlaid is a high-performance ColBERT-style multi-vector search engine built in Rust.
This package provides a LangChain VectorStore integration, enabling late-interaction
retrieval with full metadata filtering support.
Installation
pip install langchain-plaid
Usage
from langchain_plaid import NextPlaidVectorStore
vectorstore = NextPlaidVectorStore(
url="http://localhost:8080",
index_name="my_index",
embedding=your_embedding_model,
)
# Add documents
vectorstore.add_documents(documents)
# Similarity search
results = vectorstore.similarity_search("query", k=4)
# Similarity search with metadata filter
results = vectorstore.similarity_search(
"query",
k=4,
filter={"category": "science"},
)
Running the NextPlaid Server
cargo run --release -p next-plaid-api -- --index-dir /tmp/indices --port 8080
See the next-plaid repository for full server documentation.
Development
# Install dependencies
cd libs/plaid
pip install -e ".[dev]"
# Run integration tests (requires a running NextPlaid server)
python -m pytest tests/integration_tests/
Metadata
Release files for langchain-plaid 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_plaid-0.1.0.tar.gz | 6.0 kB | Without provenance | Details for langchain_plaid-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_plaid-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for langchain_plaid-0.1.0-py3-none-any.whl |
Total release size: 13.1 kB
Release files / langchain_plaid-0.1.0.tar.gz
| Download URL | langchain_plaid-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a315547b6d3f31047bd1c1ae5067b8c59eaaf131b031e223b71e44994071028e
|
|
BLAKE2b-256 checksum How to use checksums |
e1a2ab1be67245eade111c313e6db5fd58fe072832b7d2186095a1a1b8a72794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.12.2 Linux/5.14.0-503.21.1.el9_5.x86_64
|
Release files / langchain_plaid-0.1.0-py3-none-any.whl
| Download URL | langchain_plaid-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
473cfa09de04f9c36e5434ecef3f1ec218a63e51fc0617145057664eb1fe3dfa
|
|
BLAKE2b-256 checksum How to use checksums |
b38b350b3f1a42c4cff87a4191dd983f1c0a6b5d67097cfd684a00d25c539687
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.12.2 Linux/5.14.0-503.21.1.el9_5.x86_64
|
Security for langchain-plaid 0.1.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.