{"repo":"superlinear-ai/raglite","free":true,"listed":false,"github":"https://github.com/superlinear-ai/raglite","clone":"git clone https://github.com/superlinear-ai/raglite.git","description":"🥤 RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL","language":"Python","stars":1200,"topics":["llm","markdown","pdf","rag","retrieval-augmented-generation","sqlite","vector-search","pgvector","postgres","postgresql"],"license":"MPL-2.0","category":"databases-storage","readme_excerpt":"🥤 RAGLite RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL. Features Configurable - 🧠 Choose any LLM provider with LiteLLM, including local llama-cpp-python models - 💾 Choose either DuckDB or PostgreSQL as a keyword & vector search database - 🥇 Choose any reranker with rerankers, including multilingual FlashRank as the default Fast and permissive - ❤️ Only lightweight and permissive open source dependencies (e.g., no PyTorch or LangChain) - 🚀 Acceleration with Metal on macOS, and CUDA on Linux and Windows Unhobbled - 📖 PDF to Markdown conversion on top of pdftext and pypdfium2 - 🧬 Multi-vector chunk embedding with late chunking and contextual chunk headings - ✏️ Optimal sentence splitting with wtpsplit-lite by solving a binary integer programming problem - ✂️ Optimal semantic chunking by solving a binary integer programming problem - 🔍 Hybrid search with the database's native keyword & vector search (FTS+VSS; tsvector+pgvector) - 💭 Adaptive retrieval where the LLM decides whether to and what to retrieve based on the query - 💰 Improved cost and latency with a prompt caching-aware message array structure - 🍰 Improved output quality with Anthropic's long-context prompt format - 🌀 Optimal closed-form linear query adapter by solving an orthogonal Procrustes problem Extensible - 🔌 A built-in Model Context Protocol (MCP) server that any MCP client like Claude desktop can connect with - 💬 Optional customizable ChatGPT-like f","default_branch":null,"files":null,"tree":[],"storefront":"/r/superlinear-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/superlinear-ai/raglite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}