Skip to main content

chunk_text

Function chunk_text 

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

Chunk text into pieces with overlap