r/Rag • • Sep 02 '25

Showcase 🚀 Weekly /RAG Launch Showcase

36 Upvotes

Share anything you launched this week related to RAG—projects, repos, demos, blog posts, or products 👇

Big or small, all launches are welcome.


r/Rag • • 9h ago

Showcase What I learned building a GraphRAG that reads documents as rendered pages (open source, benchmarks vs RAG-Anything, LightRAG, GraphRAG)

19 Upvotes

Disclosure: I built this, and it's open source (Apache-2.0).

At work, documents pile up from every department, each in its own formats and its own way of laying things out: specs in Word, test records in Excel, review decks in PowerPoint, scanned PDFs, and the mail that carries them. Most RAG pipelines flatten these into text, so the tables, pictures and charts are gone before retrieval starts. If you work with a lot of different people, you probably know the feeling. Here is what worked for me.

A 30-second demo (a spreadsheet, a slide and a contract, each answer's source highlighted on the page) is at the top of the README: https://github.com/ToBeSuperior/Graph-Me-Maybe

Read the page, not the text. Every format is rendered to page images first. A VLM reads the outline off each page: which heading holds which paragraph, which label belongs to which figure, which rows a table really has. Styles and font sizes are not trusted, because half the documents at work don't use them.

Make the outline the graph. Instead of extracting entities and relations from every chunk, the graph is each document's own hierarchy (sections and the units under them), plus links between documents that cite or resemble each other (a memo naming a spec, copies and versions of one file). That keeps indexing cheap and the graph small.

Retrieve graph chunks cut along the outline. Search is hybrid (vector + full-text, fused with weighted RRF) over chunks that follow the outline, and the answer gets each chunk's pictures where they stand in the text, so it can read a value off a chart. Every claim cites the page, slide, cell or paragraph, highlighted on the original.

Benchmarks. Same documents, same answering model (Claude Haiku 5.5) for every system, graded by Claude Opus 5.5, on MMLongBench-Doc and DocBench:

systemMMLongBench-DocDocBench
Graph-Me-Maybe72.0%83.1%
RAG-Anything67.5%78.1%
LightRAG58.8%79.1%
Text RAG49.8%62.5%
HippoRAG 246.1%64.7%
Microsoft GraphRAG44.4%55.0%

It is also the fastest graph-based system to index on both sets (1.2-1.9x faster than GraphRAG's fast mode, 17-21x faster than RAG-Anything) and keeps the smallest graph (1.2-1.8x less than the next, 5-7x less than RAG-Anything). Setup, cost, time and per-type scores: https://graphme.io/benchmarks/

It's a desktop app (macOS, Windows, Linux). The graph (its own Neo4j, no Docker), the search (a local embedding model) and your files stay on your machine; pages are read and answers written with an OpenAI, Anthropic or Gemini API key, or a Claude, ChatGPT or Gemini subscription you already have (advanced option). It also works as an MCP server for Claude Code and Cursor.

Repo: https://github.com/ToBeSuperior/Graph-Me-Maybe · live demo, no install: https://graphme.io/demo/en/

Happy to go into the outline pass, how tables split across pages are joined, or how pictures are placed in the answer's context.


r/Rag • • 7h ago

Tools & Resources I made a tool that splits long PDFs into sections so RAG answers can cite the section and pages

6 Upvotes

Say your team loads a 583-page software manual into a RAG assistant, and someone asks "how do I make a pivot table?"

Many pipelines cut the PDF into fixed-size pieces. Here's a real 1,500-character piece from the free LibreOffice Calc Guide 26.2, shortened:

ice Base. For more information, see Chapter 12, Linking Data.
Using shortcuts
If you frequently use pivot tables in Calc, navigating through the built-in menu paths might feel inconvenient.
...
Creating a pivot table
...
After making a selection, create the pivot table in one of three ways:
• Use Insert > Pivot Table on the Menu bar.
330 | Calc Guide 26.2
• Use Data > Pivot Table > Insert or Edit on the Menu bar.
• Click the Insert or Edit Pivot Table icon on the Standard toolbar.
...
See Chapter 15, Calc as a D

It starts and ends in the middle of a word, mixes two topics and has a page footer in the middle of the steps. The last step is in the next piece, and nothing says which chapter or section any of it belongs to.

This is just a personal project and an experiment: I wanted to directly retrieve RAG chunks as sections for LLM reasoning as well as citations.

Section Anything is an open-source Python library that splits a PDF into its real sections. Every piece it returns keeps its chapter, section and pages. Here's the same part of the guide:

['Chapter 10 Using Pivot Tables', 'Introduction', 'Creating a pivot table'] 330 331
If you want Calc to automatically determine the full extent of the raw data list, then select a single cell within this list. ...
After making a selection, create the pivot table in one of three ways: • Use Insert > Pivot Table on the Menu bar.
• Use Data > Pivot Table > Insert or Edit on the Menu bar. • Click the Insert or Edit Pivot Table icon on the Standard toolbar. ...
Click OK on the Select Source dialog to display the Pivot Table Layout dialog, which is described in the next section.

The piece is exactly that section, with all the steps and no footer. The answer can cite "Chapter 10, Creating a pivot table, pages 330 to 331".

Install it with pip install "section-anything[anthropic]" and set ANTHROPIC_API_KEY. The code that printed it:

from section_anything import section

tree = section("CG262-CalcGuide.pdf", mode="quick", model="claude-haiku-5-5", max_pages=600)
for chunk in tree.chunks(max_chars=1500):
    print(chunk.heading_path, chunk.page_start, chunk.page_end)
    print(chunk.text)

There are also integrations for LangChain, LlamaIndex, Haystack and LightRAG.

That was quick mode, where a model double-checks which lines are real headings, using your own API key. On this manual it made 7 calls to Claude Haiku 5.5, cost $0.08 and took about 7 minutes. In my tests on 905 research papers it matched the real outlines best of the three modes. Paid runs are estimated before they start and capped at $0.50 per document unless you raise the cap.

Free mode needs no model. It reads the PDF's bookmarks, table of contents, fonts and numbering, runs on your own machine in seconds and costs nothing. But this manual's bookmarks stop one level higher, so free mode filed these steps under "Introduction".

It only reads the text layer, so scanned PDFs need OCR first. Tables and figures aren't structured, so their text just sits inside the section.

In an October test of an earlier version on Qasper, 707 questions about 200 short research papers, section chunks found the passage with the answer more often than fixed-size chunks, mostly because they were smaller, but the answers didn't get any better. Write-up: https://github.com/Omniwot/section-anything/blob/main/docs/rag-qasper.md

I'd most like to hear about PDFs where it gets the sections wrong (a link plus what you expected helps a lot), and which RAG framework I should support next.

Repo, with a short demo of quick mode at the top: https://github.com/Omniwot/section-anything

Try it: https://huggingface.co/spaces/Omniwot/section-anything


r/Rag • • 4h ago

Tools & Resources Docsumo open-sources SumoOCR tiny - a 1.8 MB, 1M-parameter OCR pipeline that runs on one CPU core (Apache-2.0)

1 Upvotes

Docsumo has released SumoOCR tiny, a small open-source OCR pipeline for business documents. It pairs a text detector with a line recognizer, comes to 1.04M parameters and 1.8 MB of INT8 ONNX, and runs on CPU through ONNX Runtime or OpenVINO. PyTorch and PaddlePaddle are not required.

pip install sumoocr
sumoocr invoice.png --format json

How it was built

  • The recognizer is Paddle's PP-OCRv6 tiny (0.61M params), fine-tuned on business and public documents with its output layer remapped to 758 Latin characters
  • The detector is the stock PP-OCRv6 tiny (0.43M params)
  • Both models are INT8-quantized, and the report puts the loss at under 0.2 points of word F1 against FP32
  • Each line comes back with its box and a confidence score

Published benchmarks (word F1 on whole pages, same images, one CPU thread)

EngineFUNSDSROIEXFUNDOmniDocBench ENpages/sLicense
SumoOCR tiny83.891.395.291.93.55Apache-2.0
Indra 1.2.083.489.293.690.02.07modified OpenRAIL-M
OCRia-nano-180.987.092.782.22.15OCRia-nano-1 licence
PP-OCRv6 tiny rec (Docsumo's pipeline, FP32)79.089.394.590.41.31Apache-2.0
PaddleOCR 3.7, tiny setting77.086.594.591.00.41Apache-2.0
Tesseract 561.975.090.790.21.07Apache-2.0

What the report says about those numbers

  • Speed was measured on one machine, a Mac mini M4, with each engine on 1 core in a 1-vCPU container. x86 was not measured.
  • PaddleOCR was timed outside the container, and Paddle's ARM kernels are slower than its x86 ones, so 0.41 is not an x86 figure.
  • The FUNSD result against Indra is a statistical tie.
  • None of the four benchmarks was part of the training data.
  • On receipt line crops (SROIE), stock PP-OCRv6 tiny still reads slightly better: 2.62% vs 2.93% character error.

Limitations

  • Latin script only (English and European languages)
  • Handwriting was not part of the fine-tune and is unmeasured; expect roughly stock PP-OCRv6 tiny accuracy on it
  • It returns lines, not tables, layout or key-value fields
  • Receipts and low-resolution scans are its weakest pages

SumoOCR tiny is the smallest reader from Docsumo's commercial OCR engine. The larger engine is not released.

  • Code: https://github.com/docsumo/sumoOCR-tiny
  • Model: https://huggingface.co/docsumo/sumoOCR-tiny
  • Benchmark method and charts: https://www.docsumo.com/blog/introducing-sumoocr-tiny

r/Rag • • 13h ago

Discussion Building desktop application with rag

2 Upvotes

I want to build an ai app for windows that can learn from files or the documents and store or memorize that answers that got given before

If anyone can help me with links articles or files to learn how to make it work I'll appreciate it


r/Rag • • 13h ago

Discussion Product RAG where half the data lives in PDFs (spec sheets, catalogs, price lists). How are you handling it?

1 Upvotes

For some domains (industrial parts, electronics, B2B catalogs) the real product data is in PDF spec sheets and price lists, not clean HTML. Those get added to a RAG index and the answers on numeric specs come out unreliable.

For anyone who's dealt with this:

- plain text extraction, layout-aware parsing, or a vision model on the PDF?

- how do you keep tables and units intact from a PDF?

- do you re-extract when a new revision of the spec sheet drops, and how do you notice?


r/Rag • • 14h ago

Tools & Resources Synapse: a local-first knowledge graph for AI agents (MCP, SurrealDB, Neo4j)

1 Upvotes

I just published Synapse, an open-source project I've been working on.

The goal is to build a local knowledge base that AI agents can actually query and navigate, instead of keeping project knowledge scattered across files and chat history.

A quick look at the architecture:

  • JSONL files are the source of truth.
  • SurrealDB handles BM25 and vector search.
  • Ollama generates local embeddings.
  • Neo4j handles graph relationships and traversal.
  • A read-only MCP server exposes the knowledge base to AI agents.

A few design decisions I made:

  • No LLM-based extraction during indexing.
  • Every record requires explicit evidence.
  • Records have confidence levels.
  • Secrets are checked before data reaches the stores.
  • All services bind to localhost.

There's a CLI, a local graph explorer, a demo dataset, Windows/Linux setup scripts and a Docker Compose option.

The project is MIT licensed.

I'd appreciate feedback, issue reports or contributions, especially from people working with knowledge graphs, local AI and agent infrastructure.

Repository: https://github.com/Keutonim/Synapse


r/Rag • • 14h ago

Showcase Finance and Sales walked into Monday's review $290K apart on Q3 revenue from the exact same database, and there was no SQL bug

0 Upvotes

Monday 9:05 AM quarterly review. slide 4 of the Sales deck showed $4.18M for Q3 revenue. Two minutes later, Finance pulled up $3.89M. Both slides had the exact same footer citing our production orders table. then scenically, the room went quiet, everyone turned toward the data team....

so it took about 90 minutes of tracing to see what happened, nobody had done anything sloppy on purpose. Sales had exported a CSV from an older self-service workbook and dropped it into an AI chat to build a quick summary chart for the slide. That older workbook still summed gross amount and never filtered out status IN ('refunded', 'chargeback') or internal QA test accounts. finance was reading from the updated net-revenue definition

fixing the two slides took ten minutes, the harder realization was that telling non-technical teams to stop exporting CSVs and wait three days for an analyst ticket never sticks. Ops, Sales, and Finance want fast self-service answers, and increasingly they want to ask questions in natural language and tweak chart layouts themselves without waiting in a BI backlog; finally, what indeed has cut down the Monday number arguments was separating metric logic from chart layout into two distinct layers

1st
moving canonical business definitions (net revenue, active customer, refund exclusions, fiscal calendar rules) out of individual workbooks and ad-hoc prompts into one version-controlled semantic and context layer. That way, whether someone opens a chart, connects a BI tool, or asks an AI assistant in plain English, the query has to resolve through the governed metric definition instead of guessing column math on raw tables.

2nd
giving non-technical stakeholders guided self-service apps rather than raw table access. Most business users have no interest in writing SQL joins or wrestling with rigid BI grids. tools like Hex, Sigma, Metabase's guided questions, or Cube Apps (where you start from governed workbook reports, let an agent generate a custom page, and non-tech users click directly on a title or chart to ask for a bar-vs-line tweak with one-step undo) work much better because the underlying math stays locked even when someone changes how the page looks.

by the way (a catch!) no tool fixes organizational disagreement on its own. someone still has to get Sales and Finance in one room, agree on the exact written definition of net revenue, and commit it to Git. Without that step, AI-powered BI tools just help teams generate conflicting slides faster.

now would like to ask teams giving non-technical stakeholders genuine self-service (especially with natural-language dashboards), how are you preventing metric drift without turning analysts into a bottleneck for every chart tweak?


r/Rag • • 15h ago

Discussion How do you handle outdated documents in a RAG pipeline?

1 Upvotes

Say you have two documents covering the same topic, but one contains outdated information.

Would you handle that through metadata filtering during retrieval or remove older versions from the index entirely? I'm curious how people deal with this when documents are updated frequently.


r/Rag • • 1d ago

Discussion Project ideas

5 Upvotes

What kind of project have you always wanted to build but never got around to because you didn't have enough time?

i am looking for unique and impactful project ideas the kind of projects that solves real world problems, make a meaningful difference, or have the potential to create something genuinely useful for people.

i am not looking for typical beginner projects or common clones. I want ideas that make people think, "That's actually an interesting and worthwhile project."


r/Rag • • 1d ago

Discussion How do you tell when a RAG query needs a complete list?

27 Upvotes

I maintain our library system's room finder and pointed a workshop coordinator to it to save her a few calls. She asked "which branches have a meeting room with a sink?" and started crossing off branches that didn't show up

The answer came from a handful of retrieved room descriptions. Every branch it named had a qualifying room and I found another branch in the directory that shouldve been on the list.

Im running the same eval cases in Braintrust with passage retrieval and with a full directory lookup, checking the returned branch lists against the room records. A routing rule that looks for an explicit "all" would still send her query to passage retrieval.


r/Rag • • 1d ago

Tools & Resources I built an open-source RAG platform where you pick the OCR, embedder and vector DB, then measure what each swap changes

3 Upvotes

Every RAG project I've worked on ended the same way. I wanted to try a different OCR engine or vector database, and that meant rewriting half the pipeline. I could never tell whether the change had actually helped.

So I built RAGCentre: a self-hosted platform for building, comparing and evaluating retrieval pipelines. It's one process, SQLite and a web UI. The quickstart needs no API keys and no model downloads.

What it does

  • Pick your own parts. Parsers and OCR: Docling, MinerU, PaddleOCR, PaddleOCR-VL, Surya, EasyOCR, docTR and Tesseract. Any OpenAI-compatible embedder. 13 vector store types, including sqlite-vec, Qdrant, pgvector, Chroma, LanceDB, Redis, Weaviate, Elasticsearch, OpenSearch, Milvus, Pinecone and MongoDB. Cohere/Jina-style rerankers. Or plug in your own service over a small HTTP protocol.
  • Swap one part and only the affected work re-runs. Each step is fingerprinted by what it computes, not by the pipeline it belongs to. Two pipelines that parse the same way share every parse, and changing only the chunker doesn't re-parse anything.
  • Compare pipelines properly. Import questions whose answers name a document, page and text, then run two pipelines side by side. You get hit rate, recall, precision, nDCG and MRR with paired-bootstrap confidence intervals, so you can tell whether a difference is real.
  • It fails loudly. A query is refused, not silently degraded, if an index no longer matches its pipeline.

A pipeline is a small YAML file (parse → chunk → embed → index, plus fusion and reranking). It's MIT-licensed, and your documents stay on your machine unless you deliberately plug in a remote service.

Try it

git clone https://github.com/mmlmt2604/RAGCentre.git
cd RAGCentre
uv sync
uv run ragcentre serve    # http://127.0.0.1:8700

Or docker compose up --build. Then follow examples/quickstart.md: two pipelines, a query and an evaluation in a couple of minutes.

Where I'd love help

  • New integrations. OCR engines, vector stores and embedders are the most useful, and the contributing guide walks through adding one.
  • Running the OCR shims on your own documents and telling me where they break.
  • Bug reports and doc fixes.

Repo: https://github.com/mmlmt2604/RAGCentre

I'd really like feedback, especially on what's confusing and which integrations you'd want next. A star helps others find it, but I care more about what you'd change.


r/Rag • • 1d ago

Discussion Any streamlined collaborative or web-based rag api solutions?

1 Upvotes

Does every developer have to manually go into whatever document base you're trying to get the answer that your agent needs to figure out and then duplicate all of this effort across the entire industry or is there a anything at all that's better than doing that?

I find I'm wasting a lot of effort and tokens well.

If I can plan ahead for what type of documentation and or information I need and yes majority sites also structure the information via URLs easily enough so that it's found however,

utilizing rag agents that companies like Raspberry Pi and or others deploy via LLMs are a lot more useful than normal web search.

These platforms utilize github discussions and issues which is what can make them more accurate as well..

I've found a lot of situations that individual developers encounter in their own coding are also undocumented and unstored where we could all benefit off of each other's tread.

Which is why the collaborative part is in the title. Some form of answer base that's user submission based, like Reddit, and or discussion based as well.

But since Reddit already exists, this would primarily be, or at least ideally I can think of, agent based.

An agent has a mcp that links up to a global mcp, and when the agent finds a solution to something that's not already in the database, it stores it.

And humans now are letting agents run autonomously for hours. So instead of wasting tokens, a system like this is what's needed.

What are your thoughts? Or do you have any tools and or links of sites like this that are growing?

Anything that you usually wouldn't receive from just asking ChatGPT normally is the information that would probably be warranted here.

As for me, the current tools that are beneficial would be Grok's toolset for searching Twitter. If that includes all the discussions and replies that comes normally with tweets, you would usually find something from that, since it's a giant platform. Reddit also has its own system as well, and API. I have no idea how easily it integrates with CLIs though.


r/Rag • • 1d ago

Showcase I benchmarked 5 document-to-Markdown converters on the same files (MarkItDown, Docling, Unstructured, Kreuzberg, and my own). Here's what broke.

26 Upvotes

Most RAG quality problems I've debugged turned out to be parsing problems. A merged table cell comes loose and the model can't tell which row a number belongs to, two-column PDFs get interleaved line by line, speaker notes vanish. So I ran five converters on the same files to see where each one breaks.

Full disclosure: I wrote one of them (OpenDocKit), so read this with that in mind. The harness, raw outputs and a one-click rerun on a free GitHub runner are all public, and if a tool is set up unfairly I'd like to hear about it.

Setup: standard GitHub runner, 4 cores, no GPU, no API keys. Each tool installed the way its docs recommend for full format support and called with default options.

PDF (opendataloader-bench, 200 PDFs with hand-checked references, not mine)

ToolScoreTime for 200 PDFsRuns a model
Docling0.8921,063 syes
OpenDocKit0.88936 sno
Unstructured0.69752 sno
Kreuzberg0.6894 sno
MarkItDown0.58933 sno

Same documents, other formats. I wrote those 200 reference documents out as DOCX, ODT, RTF, HTML and EPUB and scored every tool against the same answers. This is where the differences surprised me:

  • MarkItDown returns RTF files as raw RTF source (0.17) and can't open ODT
  • Kreuzberg and Unstructured read RTF text and tables but drop every heading (0.74)
  • Docling drops to 0.91 on HTML
  • OpenDocKit scored 0.99 on all five; Unstructured beats it slightly on DOCX and ODT (0.996 vs 0.992)

Real files from other projects' test suites (743 files):

  • PowerPoint speaker notes: Kreuzberg, Unstructured and Docling each lose roughly 1,400 to 1,500 of about 23,000 words, almost all from notes
  • 113 fuzzer findings and malicious files: MarkItDown and Unstructured each went past 6 GB of memory on one file

Install size: OpenDocKit 104 MB, MarkItDown 337 MB, Kreuzberg, Docling and Unstructured between 5.8 and 6.8 GB.

What I'd pick: hard PDF tables or scans on your own hardware → Docling. Raw throughput → Kreuzberg. Lots of mixed formats from users you don't control, on a CPU box → that's the case I built OpenDocKit for. It has no OCR of its own; scanned pages go to a vision model you plug in (OpenAI, Claude or Gemini).

A few things it does that matter for RAG specifically: vertically merged table cells are repeated on every row so a chunk keeps its context, output comes split per page/slide/sheet with page numbers for citations, and IsolatedConverter runs each file in a worker process with memory and time limits. There are loaders for LangChain, LlamaIndex and LightRAG, plus an MCP server. MIT licensed.

Benchmark report: https://github.com/hyeonsang010716/OpenDocKit/blob/main/benchmarks/README.md

Repo: https://github.com/hyeonsang010716/OpenDocKit

Happy to run other tools or document types if people have suggestions.

(The report also includes kordoc, a converter built for Korean office documents. It tops the PDF benchmark at 0.965, but I left it out here since it targets a different niche.)


r/Rag • • 1d ago

Discussion What is the best approach to implement long-term memory in AI applications for production?

4 Upvotes

Hey everyone!

I'm exploring different approaches to implementing memory in AI applications, particularly for LLM-based chatbots and agentic systems.

I want to understand how production-grade AI applications handle memory beyond basic conversation history or simply storing chat messages in a vector database.

I'm particularly interested in understanding:

  • What architecture would you recommend for production-grade AI memory?
  • How do you handle memory extraction, updates, and deletion when user preferences or facts change?
  • How do you avoid storing irrelevant or redundant information?
  • How do you handle conflicting or outdated memories?
  • Are there any frameworks or architectures you have successfully used in production (LangGraph, Mem0, Zep, Letta, custom implementations, etc.)?

My goal is to build a scalable memory system for an AI assistant that can retain useful context across multiple sessions without continuously sending the entire conversation history to the LLM.

I'd really appreciate insights from people who have actually implemented memory systems in production.

What worked for you, what didn't, and what would you recommend starting with?


r/Rag • • 1d ago

Discussion RAG efficiency on legal documents

1 Upvotes

Hi everyone,

I’m looking into building a RAG system that can search across thousands of documents, including legal commentary, encyclopedias, and legal books, then produce reliable answers based on those sources.

I’m trying to understand what a practical setup would look like and what budget to expect. In particular:

  • What architecture and tools would you recommend?
  • How should the documents be prepared and indexed ? (can convert them into .md file for instance)
  • Roughly what would implementation and ongoing costs look like for a project of this size?

The goal is to support legal research.

I have more than 10,000 documents. Individual documents may range from 5 to 500 pages.

Could be local (with the purchase of a Mac Mini) or not.

Thank you so much !


r/Rag • • 1d ago

Showcase Teaching RAG through game style video

1 Upvotes

I'm trying to teach AI Engineering through video games on instagram, starting with RAG. Would this actually help you learn?

I've been exploring a different way to teach AI Engineering concepts.

Instead of conventional slides, tutorials and architecture diagrams, I'm building a pixel-art dungeon adventure where every level represents a real AI engineering challenge.

Two characters navigate the dungeon, build AI systems, encounter production failures, debug them and unlock new capabilities as they progress.

The first campaign covers Retrieval-Augmented Generation (RAG), starting with the fundamentals and gradually progressing towards production-grade architectures.

I recently published the first episode, and I'd genuinely love feedback from people learning or working in AI.

Does this storytelling format make the concepts easier to understand? Would you prefer shorter explanations or more detailed technical walkthroughs?

I'm still experimenting with the format, so constructive criticism is very welcome.

Here's the first episode: https://www.instagram.com/p/DgXlVepyLy6/


r/Rag • • 2d ago

Tools & Resources SereneDB as an Elasticsearch alternative for RAGs

10 Upvotes

Some time around July I decided to create a local RAG on top of Arxiv. Wanted something like an Agentic RAG setup, something that can brief me on things like Agentic memory, context management, etc. Maybe daily/weekly digests.

Google led me to RAGFlow and so I started using it. As it turned out RAGFlow was in the middle of Python->Go migration... But that's a different story, lol.

One of the first things I hit - there were problems with text extraction from LaTeX-generated PDFs - no spaces between words.

Anyway, after some dozen gigabytes I was already looking for Elasticsearch (which at least at that time was the default) alternatives. Things were slow and to much Java. But mainly slow.

So I Googled again, found SereneDB - it claimed to be a hybrid DuckDB-based DBMS with some useful pgwire compatibility subset with very cool vector search engine.

And so I gave it a shot - even wrote RAGFlow adaptor.

So now I have full Arxiv index (ca 700-800GB) with chunks embeddings via bge-m3 inside SereneDB. Retrieval is fast and nice - feeds my local Qwen that frontends the RAG.

Recently was googling search engines again and saw this benchmark - https://serenedb.com/blog/vectorbench-elasticsearch There are also other interesting claims around Clickhouse and searchbench.

Hope somebody else will find it useful. Cheers.


r/Rag • • 1d ago

Discussion A year of running managed scrapers: the failure modes that actually cost us, ranked

0 Upvotes

End of the year, so I went back through our incidents. The surprise was how few were "the site blocked us" and how many were quieter data-quality problems that shipped before anyone noticed.

Rough ranking of what cost the most time and trust, worst first:

  1. Silent schema drift (a field moved, we kept collecting the wrong value)
  2. Partial pages served under load (looked fine, missing rows)
  3. Store/location defaults resetting mid-run (wrong price, right product)
  4. Actual blocking
  5. Currency/locale mix-ups on multi-market sites

Curious what everyone else's top of the list looks like, and whether blocking is really the main thing or just the loudest.


r/Rag • • 1d ago

Discussion My claude subsription expired, you guys are my claude now

0 Upvotes

I have PDFs / documents that contain text as well as images.

these PDFs are business documents and SOPs and other such type of documents.

These PDFs can range from 5 pages to 600 page documents.

They may or may not follow a particular structure, also I have seen samples a majority of the final PDFs that we get are a bunch of PDFs consolidated into 1.

They may follow different formats, may have unnecessary company logos, formating styles and many more...

I need to build a system that is agnostic of all of these variables and works for all. itcan have distinguished logic for different types of anamolies and inconsistencies.

The goal of this system to be able to ingest any type of document with n different things, parse it clean, preserve its meaning and give me text and chunks.

I want to build an extremely efficient RAG system, where I am able to understand the contents of these documents, make decisions of it, fill required table fields/system settings from these documents, make queries to these documents and also map fixed checklist items against content of the said uploaded/ingested documents.

The way I see it is:

  1. We ingest the document
  2. We parse(process it and chunk) it in a way that preserves meaning including meaning associated with images/diagrams/charts/flows and meaning within the same side heading or same topic...
  3. Once we have this parsed cleaned content in text we can basically perform n number of things on top of it...

U get me?

I am very unaware of how RAG is done in production at this scale.

I want a solution that is the industry standard

But at the same time I am open for new untried creative approach towards solving this...


r/Rag • • 2d ago

Discussion Are Chunking Strategies Causing AI to Lose Context Before Retrieval Even Begins?

7 Upvotes

A lot of RAG discussions focus on embeddings, vector databases, retrieval strategies and context windows. All important topics.

What I don't see discussed nearly as often is what happens before any of that.

Most RAG workflows break information into chunks, index it, and optimise retrieval. That makes sense from a technical standpoint, but I'm curious whether we sometimes lose important context before retrieval even starts.

When working with large document collections, chronology, relationships between documents, evidence trails, references, appendices and supporting records can be as important as the content of any individual document. Once information is divided into smaller units, how much of that wider context survives?

Has anyone compared retrieval quality between heavily chunked datasets and approaches that preserve more of the relationships across a complete collection?

I'm particularly interested in whether some retrieval problems are actually data preparation problems rather than retrieval problems.

Curious to hear what others have seen in practice.


r/Rag • • 1d ago

Discussion How much can you trust RAG chatbot citations when working with internal policies?

1 Upvotes

One thing I find interesting about rag is its potential for membership organizations that need to provide accurate answers based on their own documentation. I'd consider customgpt.ai for this because it can generate answers based on a specific knowledge base and include citations, making it easier to check where the information comes from. Notebooklm is also an interesting option, especially for smaller document collections.

What I'm more concerned about is how these tools handle outdated policies or conflicting documents. An answer can have a citation and still be wrong. How do you usually evaluate citation accuracy beyond checking whether the source exists?


r/Rag • • 2d ago

Discussion I wonder why do you guys are still interesting in RAG, since everyone else says that RAG is dead

34 Upvotes

So many people says 'RAG is dead' or 'RAG is cooked', or even 'RAG is so 2024' I know the agentic search performance is outstanding, but RAG + agent is more powerful than ever. But so many people just ignore RAG as a old technology when the agent calls hundreds of grep calls with token-maxing.

But when I talk with some domain experts or managers who have to use AI in their own companies, they are still struggling to find out how to give a right context to their agents via RAG. Moreover, there are many startups and big companies that making RAG system for other enterprises and it is quite a big deal with lots of dollars.

So I wonder, why people ignore RAG so much? And why do you people are still interesting in RAG. So why is RAG 'not cooked'?

Please leave a comment for your opinion about it.


r/Rag • • 2d ago

Discussion Docling released new Granite (V2)

4 Upvotes

Docling has released a new version of their Docling Granite smal model with a very interesting "Flash" light model that is just 500M parameters. Their is also 2B model that achieved better scores on benchmark.. but not that much.
These models should be very interesting for full local agentic loops..

They also made pretty interesting benchmark : https://docling.ai/benchmarks/
With every points that can be checked, for once I feel some transparency in a Parsing benchmark..


r/Rag • • 2d ago

Tools & Resources RAG industry level projects

4 Upvotes

Hi, as someone who has started learning RAG, what industry grade projects can one build??

Also, from where are yall learning RAG ?? Some youtube links or github links would really be helpful

Thanks!!