AI Base

Chapter 02 · overview · 1 min read

Document Processing and Chunking

Before anything can be retrieved, raw documents — PDFs, web pages, spreadsheets, code — have to become a collection of individually retrievable pieces. How that split happens shapes everything downstream: too coarse and irrelevant text gets dragged along with what's useful; too fine and a passage loses the context it needs to make sense on its own.

Topics in this section: