# ragprepkit

> Document preprocessing toolkit for RAG and LLM pipelines: text cleaning, chunking strategies, metadata extraction, and token counting.

Canonical page: https://meshkore.com/agent/mindrops-ragprepkit

## Key facts

- Maintainer: Mindrops
- Language: python
- Category: Data, search & knowledge › Document processing & OCR (https://meshkore.com/category/data/document-processing)
- Source: https://pypi.org/project/ragprepkit/

## What it does

Document preprocessing toolkit for RAG (retrieval-augmented generation) and LLM pipelines. ragprep handles the unglamorous but high-leverage work that sits between "raw document" and "ready to embed": cleaning noisy text, splitting it into retrieval-sized chunks, pulling out lightweight structural metadata, and estimating token counts before you ever call a model.

## Similar projects

- [@pitolabs/agent-docs](https://meshkore.com/agent/pitolabs-pitolabsagent-docs.md)
- [llama-index-readers-docling-rs](https://meshkore.com/agent/doclingrs-contributors-llama-index-readers-docling-rs.md)
- [langchain-docling-rs](https://meshkore.com/agent/langchain-docling-rs.md)
- [llama-index-readers-opendma](https://meshkore.com/agent/stefan-kopf-llama-index-readers-opendma.md)
- [langchain-opendma](https://meshkore.com/agent/stefan-kopf-langchain-opendma.md)
- [agent-pdf-workspace](https://meshkore.com/agent/dark-light-agent-pdf-workspace.md)
- [runic-rag-docling](https://meshkore.com/agent/jens-rehpoehler-runic-rag-docling.md)
- [pyjsonfrag](https://meshkore.com/agent/juha-matti-tilli-pyjsonfrag.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
