RektRAG introduces a lightweight, tree-based RAG designed for high-precision retrieval with minimal token overhead. RektRAG utilizes Docling for structured parsing and introduces the TOON format to optimize context window usage.
By decoupling the core logic from specific LLM providers, RektRAG allows integration with any model. It leverages asynchronous processing and hierarchical summarization to provide a "No-brainer" experience for complex document retrieval.
Installation
Install using pip:
pip install rektrag
Usage
- RektEngine: Orchestrates document ingestion, state management, and multi-document retrieval.
- LLMProvider: Easily plug in OpenAI, Anthropic, or local LLMs by implementing the interface.
Example
Please refer to the Examples provided for further clarification.
Metadata
Release files for rektrag 0.0.2
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 |
|---|---|---|---|---|
| rektrag-0.0.2.tar.gz | 7.2 kB | Without provenance | Details for rektrag-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rektrag-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for rektrag-0.0.2-py3-none-any.whl |
Total release size: 14.7 kB
Release files / rektrag-0.0.2.tar.gz
| Download URL | rektrag-0.0.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcd60bd1b37759504d89cf5a0ddfe99ddec64e71d2d40fab2e6bee4dbb8393cd
|
|
BLAKE2b-256 checksum How to use checksums |
ca3b22e4c2e8aa9d9819759988f83c30fedae276864fbc23093e39025d2c2501
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / rektrag-0.0.2-py3-none-any.whl
| Download URL | rektrag-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80c790e312b03fc792a74dac7f25824e9ac6b12df2eb971cb1da4ab2bd30bb32
|
|
BLAKE2b-256 checksum How to use checksums |
7717d1574bbf532131b62841beb49b270e184e4cd6304ec8dfd8e6cec1e90370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for rektrag 0.0.2
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.