pub fn chunk_text(
text: &str,
config: ChunkingConfig,
) -> Result<Vec<String>, ChunkingError>Expand description
Split text into trimmed, non-empty character chunks with approximate overlap.
pub fn chunk_text(
text: &str,
config: ChunkingConfig,
) -> Result<Vec<String>, ChunkingError>Split text into trimmed, non-empty character chunks with approximate overlap.