Concept Flow - RecursiveCharacterTextSplitter
Input: Large Text
Check if text length <= chunk_size?
Yes→Return text as chunk
No
Find separator from list in text
Split text by separator
For each part
Recursively call splitter on part
Collect chunks
Return all chunks
The splitter checks if text is small enough; if not, it finds a separator to split text and recursively splits each part until chunks are small.