Skip to main content

No-brainer vectorless RAG combining docling and toon-python

Project description

release Pythonv License

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rektrag-0.0.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rektrag-0.0.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file rektrag-0.0.2.tar.gz.

File metadata

  • Download URL: rektrag-0.0.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for rektrag-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fcd60bd1b37759504d89cf5a0ddfe99ddec64e71d2d40fab2e6bee4dbb8393cd
MD5 8144346109451648f34c40fafad4b545
BLAKE2b-256 ca3b22e4c2e8aa9d9819759988f83c30fedae276864fbc23093e39025d2c2501

See more details on using hashes here.

File details

Details for the file rektrag-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rektrag-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for rektrag-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 80c790e312b03fc792a74dac7f25824e9ac6b12df2eb971cb1da4ab2bd30bb32
MD5 4b4b09114f83364d9d9a9f2b3ee04e39
BLAKE2b-256 7717d1574bbf532131b62841beb49b270e184e4cd6304ec8dfd8e6cec1e90370

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page