Skip to main content

langchain-chassisdb

A LangChain vector store on Chassis: semantic search over your documents, kept in two files, inside your own process. No server to run, nothing to connect to.

pip install langchain-chassisdb
from langchain_chassisdb import ChassisVectorStore
from langchain_openai import OpenAIEmbeddings  # or any LangChain embeddings

store = ChassisVectorStore("docs.chassis", embedding=OpenAIEmbeddings())
store.add_texts(
    ["Refunds take five working days.", "We ship to the EU and the UK."],
    metadatas=[{"topic": "billing"}, {"topic": "shipping"}],
)

retriever = store.as_retriever(search_kwargs={"k": 4, "filter": {"topic": "billing"}})
retriever.invoke("how long does a refund take?")
  • Files: docs.chassis holds the vectors and docs.db the documents and metadata. Open the same path again, with the same embeddings, to pick up where you left off. Everything added or deleted is saved when the call returns. A call that a crash or an error stops changes neither file: the store brings its vectors back in step when it is next opened or written.
  • Ids: give your own with ids=; adding a document with an id that is stored replaces it. get_by_ids and delete take them.
  • Filters: filter={"key": value, ...} keeps documents whose metadata has every key with that value.
  • Scores: similarity_search_with_score gives distances (smaller is closer); similarity_search_with_relevance_scores gives 0 to 1. max_marginal_relevance_search picks documents that are close to the query and different from each other.
  • Options: metric="cosine" (the default) or "euclidean"; precision="half" keeps vectors in about half the space, with the same recall on the embeddings measured. They're fixed when the store is created: open it again with the same ones, or an OptionsMismatchError says which to pass. A read_only store takes them from the file.
  • More processes: one process writes a store at a time. Others open it with read_only=True, take no lock, and see what the writer last saved.

It passes LangChain's standard tests for vector stores, sync and async.

Metadata

Release files for langchain-chassisdb 0.1.2

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-chassisdb 0.1.2
File Size Uploaded
langchain_chassisdb-0.1.2.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-chassisdb 0.1.2
File Interpreter ABI Platform
langchain_chassisdb-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.3 kB

Release files / langchain_chassisdb-0.1.2.tar.gz

Download URL langchain_chassisdb-0.1.2.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bcd621335a64df0e928dede4bfc40fdb23682135a5c54e39acdf5d1150a608bd
BLAKE2b-256 checksum
How to use checksums
fd5e4c8ab11755c94ca2af6ec3462a4293a37c450929dbb97ca071f64154869d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / langchain_chassisdb-0.1.2-py3-none-any.whl

Download URL langchain_chassisdb-0.1.2-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c7d5cc5330fcea6da7be9c7cccd58fe686081d5e650b180792d5e3f799e831c
BLAKE2b-256 checksum
How to use checksums
92466963585e9d6b6130fcc4a0c588651689a87763848e89511389c190722b0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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