POST 1 of 5 MorningRAGConcept
Bad chunks = bad RAG, no exceptions
If your chunks split mid-sentence or fragment a thought, no embedding model can rescue it. The goal: each chunk should be self-contained on its topic. Retrieving it should give the LLM enough context to answer without other chunks. Three common chunkers: - Fixed-size — naive, breaks sentences. Avoid. - Recursive (split by ¶, then sentence, then word) — LangChain default. - Semantic (split where embedding similarity drops) — newer, sometimes better. Your first improvement on a RAG that's misbehaving is almost always better chunking.
#RAG#LLM#VectorDatabase#AI#100DaysOfCode#Chunking