Skip to content

text-splitter

Split text into semantic chunks, up to a desired chunk size. Supports calculating length by characters and tokens, and is callable from Rust and Python.

Next steps

Update content

Edit src/content/docs/index.mdx to see this page change.

Add new content

Add Markdown or MDX files to src/content/docs to create new pages.

Configure your site

Edit your sidebar and other config in astro.config.mjs.