Skip to main content

chunk_text

Function chunk_text 

Source
pub fn chunk_text(text: &str, config: &ChunkerConfig) -> Vec<TextChunk>
Expand description

Split text into chunks (children carrying their parent index in parent-child mode).