Skip to main content
ClickHouse RAG logo

ClickHouse RAG

ClickHouse RAG is a Python retrieval layer for teams that already run ClickHouse. Store passages and embeddings together. Search by meaning, term match, or both, with namespace and metadata filters and a source pointer on every result.

  • Use your own embeddings. Pass vectors directly or supply a Python provider.
  • Keep the latest revision searchable. The same identity and payload can be retried and higher revisions replace earlier passages.
  • Return evidence for any RAG stack. Typed search results carry stable chunk IDs, document IDs, sources and metadata.

Version 1.0 replaces the old managers and requires a new table. See the migration guide for an existing setup.

GitHub Releases · Documentation · PyPI

Quickstart

The 1.x line targets CPython 3.11–3.15 and ClickHouse 26.3 or 26.8 LTS. Install the library with pip.

python -m pip install clickhouserag

Follow the quickstart to start a local server and run hybrid retrieval without a model service. To run the example from a checkout with an existing local server:

uv sync --locked
uv run --locked python examples/basic_usage.py

See the API reference, operations guide, benchmark and design.

Contributing · Changelog · MIT license

Metadata

Release files for clickhouserag 1.0.1

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

Source distribution (sdist)

Source distribution for clickhouserag 1.0.1
File Size Uploaded Provenance Actions
clickhouserag-1.0.1.tar.gz 73.8 kB With provenance Details for clickhouserag-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clickhouserag 1.0.1
File Interpreter ABI Platform Actions
clickhouserag-1.0.1-py3-none-any.whl Python 3 none any Details for clickhouserag-1.0.1-py3-none-any.whl

Total release size: 84.6 kB

Release files / clickhouserag-1.0.1.tar.gz

Download URL clickhouserag-1.0.1.tar.gz
Size 73.8 kB
Tags Source
SHA-256 checksum
How to use checksums
78d5afb39d8951b66daaae7bc52935305a615633bf89e8a431f959f07a78e765
BLAKE2b-256 checksum
How to use checksums
5ea3c1bd35bc3c92bd877ffc231bad0b78aeea6a039078786b41338c89a9fd88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Release files / clickhouserag-1.0.1-py3-none-any.whl

Download URL clickhouserag-1.0.1-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f02a54eb047b67e710c4b17b426d1c8ad7c9ddf803739dab8059d4fe8bfa23e8
BLAKE2b-256 checksum
How to use checksums
0a5d882578dca39d70b0f55615e8730a4589cbc1a78b971ea5d50dd587e1aab0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Security for clickhouserag 1.0.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for clickhouserag-1.0.1.tar.gz

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 Nov 14, 2026.

Transparency log

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