yoshuawuyts/components

[component] chunker — Text → chunks for retrieval

Open

#7 aperta il 1 mag 2026

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (1 fork)github user discovery
good first issue

Metriche repository

Star
 (1 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor