2
0 Comments

I built a document chunking + embeddings API for RAG, looking for feedback

I work on production RAG systems and kept hitting the same problem: chunking quality quietly decides retrieval quality, but most setups just split text by a fixed token count and move on.

So I built a small API that does sentence-aware, structure-aware chunking and returns embeddings in one call (PDF, DOCX, CSV, XLSX, ZIP in, chunks plus vectors out, using bge-m3). The idea was to make the boring part of a RAG pipeline reliable so the rest of the stack gets cleaner inputs.

A few things I learned building it:

  • Fixed-size chunking looks fine in demos and falls apart on real documents with tables and headings.
  • Returning embeddings in the same call removed a lot of glue code people usually write themselves.
  • Multilingual retrieval (Turkish in my case) is where weak chunking hurts the most.

It is live with a few free runs if anyone wants to try it: chunkingservice.com

I would like feedback on the chunking strategy and what formats or options are missing for your own RAG work. What are you using for chunking right now?

on July 11, 2026
Trending on Indie Hackers
5 days post-launch: Top 50 on Product Hunt, zero signups, and why I think that's actually fine User Avatar 139 comments The feature you're most sure about is the one you should question first User Avatar 127 comments 641 downloads, 2 sales, and I still don't know why User Avatar 99 comments I built an AI fitness coach, then realized AI was only solving half my funnel User Avatar 79 comments I built a macOS app to make mobile E2E testing less awful User Avatar 50 comments Built a local-first privacy extension. Looking for feedback. User Avatar 40 comments