Overview of RAGLite
mainRAGLite is a Python toolkit designed for Retrieval-Augmented Generation (RAG). It allows developers to build RAG systems using either DuckDB or PostgreSQL as the backend for keyword and vector search.
Key capabilities include:
- Configurable LLMs: Supports any provider via LiteLLM, including local models via
llama-cpp-python. - Hybrid Search: Uses native database features (DuckDB FTS+VSS or PostgreSQL tsvector+pgvector).
- Advanced Chunking: Implements late chunking, contextual chunk headings, and optimal semantic/sentence splitting.
- Extensibility: Includes a built-in Model Context Protocol (MCP) server and optional integrations for Mistral OCR, Pandoc, and Ragas evaluation.