🎯Core Definition
Recursive Character Text Splitter is a hierarchical text chunking algorithm that recursively evaluates a prioritized delimiter list (e.g., `["\n\n", "\n", ". ", " ", ""]`) to segment long documents; while strictly bounding chunk length within target Token limits (`chunk_size`), it maximizes text preservation at the highest semantic boundaries (such as double newlines `\n\n`) and enforces overlapping context (`chunk_overlap`) between consecutive windows.
💡Use Cases
Universal baseline chunking strategy for general RAG systems, applied across text articles, technical blogs, and documentation.
⚡Key Problems Solved
Naive fixed-length character slicing blindly shears words and sentences midway, creating broken sentence fragments; recursive splitting preserves natural paragraph/sentence integrity, and `chunk_overlap` ensures critical boundary-straddling facts remain intact.