Skip to main content
Version: 0.0.4

agrag.chunking.token

The token strategy: fixed-size windows of tokens, with optional overlap.

Classes:

  • TokenChunker – Cuts the text into windows of chunk_size tokens.