ClickHouse RAG
ClickHouse RAG is a Python framework for finding and citing evidence in ClickHouse. Use one collection for document updates, hybrid text and vector search, and relationship traversal. Supply your own models or use the built-in Ollama adapter.
- 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.
- Follow relationships across documents. Graph search adds cited paths and corpus overviews. Typed knowledge queries can require multiple paths to reach the same answer.
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
For document indexing, GraphRAG, KAG and evaluation, use the framework walkthrough.
See the API reference, operations guide, benchmark and design.
Metadata
Release files for clickhouserag 1.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 |
|---|---|---|---|---|
| clickhouserag-1.1.0.tar.gz | 102.4 kB | With provenance | Details for clickhouserag-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clickhouserag-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for clickhouserag-1.1.0-py3-none-any.whl |
Total release size: 136.0 kB
Release files / clickhouserag-1.1.0.tar.gz
| Download URL | clickhouserag-1.1.0.tar.gz |
|---|---|
| Size | 102.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c202e9f528c408a291b6659cbc57dbc433636162e3602627109aa2943ddf1b93
|
|
BLAKE2b-256 checksum How to use checksums |
64116fd807635d1f0ec9c35e296e9cb2aa78a7669c1ac8c16953a480cc38f940
|
| 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 logRelease files / clickhouserag-1.1.0-py3-none-any.whl
| Download URL | clickhouserag-1.1.0-py3-none-any.whl |
|---|---|
| Size | 33.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
983a13fcae064159d117349cab3114e33116ee3bd972568cf6db3de66486d31e
|
|
BLAKE2b-256 checksum How to use checksums |
ab17ace84ee9b797fe9ede9eef0e7c91917c1ac27deedd95cf6be818ea2ff129
|
| 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 logSecurity for clickhouserag 1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for clickhouserag-1.1.0.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 logA 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.