Workflow
X @Avi Chawla
Avi Chawla·2025-10-01 07:02

Here's a common misconception about RAG!When we talk about RAG, it's usually thought: index the doc → retrieve the same doc.But indexing ≠ retrievalSo the data you index doesn't have to be the data you feed the LLM during generation.Here are 4 smart ways to index data:1) Chunk Indexing- The most common approach.- Split the doc into chunks, embed, and store them in a vector DB.- At query time, the closest chunks are retrieved directly.This is simple and effective, but large or noisy chunks can reduce precisi ...