A Python library that converts documents into semantically structured, LLM-ready chunks using context-aware logic.
Transform complex PDFs and scanned documents into structured, context-aware data for your LLM pipelines.
SmartLLMLoader is a Python package designed to replace basic text extraction with semantic, context-aware document processing. It is built for developers and data engineers who need to prepare messy documents for RAG systems, chatbots, or Q&A applications.
The tool converts various document formats into clean markdown, applying OCR to images and scanned PDFs when necessary. It uses LLMs to perform context-aware chunking, ensuring that tables and headers retain their structural integrity rather than being flattened into raw text.
This tool suits developers building RAG pipelines who struggle with poor retrieval quality caused by basic text splitters. It is not for users without Python experience or those who prefer a no-code document processing interface.
Uses LLMs to intelligently group text based on meaning rather than arbitrary character counts.
Automatically handles scanned documents and images using built-in OCR processing.
Integrates directly into existing RAG workflows with minimal configuration.
Maintains the structure of complex tables and headers during the conversion process.
The package is free under its license. You must pay for the LLM API calls required to perform the semantic chunking during the document processing phase.
879 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.
The code runs locally, but it sends document content to an LLM provider to perform the intelligent chunking.
Yes, it uses LiteLLM, so it supports any model compatible with that library.
See Zekai first in Google