RAG
2 posts tagged RAG.
Chunking PDFs for RAG: Why Fixed-Size Splitting Fails
Every RAG tutorial reaches for a fixed character count with some overlap. It is easy to implement and it quietly wrecks retrieval quality. Structure-aware chunking is barely harder and substantially better.
Chunking Markdown for RAG: Why the Format Already Did Half the Work
Markdown arrives at your pipeline with the hard part of chunking already solved: the boundaries are written in the text. Most pipelines throw that away by applying the same fixed-size splitter they use on PDFs. Here is how to chunk Markdown so the structure survives.