yoshuawuyts/components

[component] chunker — Text → chunks for retrieval

Open

#7 opened on May 1, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (1 fork)github user discovery
good first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Goal

Component to split Markdown/semantic text into offset chunks for chunked retrieval (RAG). Might use headings/paragraphs as boundaries or basic token counts with overlaps.

Scope/Features

  • Input: string
  • Output: structured array of chunks (text, offset/indices)
  • Configurable: chunk size, overlap, min paragraph, etc.

Rough WIT shape

  • split(input: string, params: chunk_params) -> list<chunk>
  • Chunk struct: {text, start, end, ...}

Labels

  • good first issue

Contributor guide