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.1.tar.gz (6.8 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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rektrag-0.0.1.tar.gz
  • Upload date:
  • Size: 6.8 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.1.tar.gz
Algorithm Hash digest
SHA256 ec95652771f32a50d5543fb6b9a2907c509de3ef71a676c0dc5c6d0bad0e2f2a
MD5 2a72f01a8c33878977136f0233c04963
BLAKE2b-256 c75e086c22b5c89dd387038863cf96350c7a565a065ccfeb000ea5806ba0d63b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rektrag-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 474b6c4c2aa6124afb389889fd8bf841ad2fdfec4efaeacd58517b2701747dfd
MD5 241713eaf11c911193e73a97fa91a72e
BLAKE2b-256 ff45ea761ba7cd5cefadd18f75057addf620072080cd3d87bba5481cd21a8085

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