Vector DBs & RAG (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are the common Chunking Strategies (Fixed-size, Semantic, Recursive)?
junior Levelvector-databasesBasic
In Simple Words:
- Fixed-Size Chunking with Overlap: Splits text strictly by token count (e.g. 500 tokens with 50-token overlap). Simple and fast, but can split mid-sentence.
- Recursive Character Chunking: Recursively splits by paragraphs (
\n\n), then sentences (\n), then words to preserve semantic structure. - Semantic Chunking: Computes embedding differences between adjacent sentences and splits when semantic meaning shifts beyond a threshold.