Reduce chunk size to fit all-MiniLM-L6-v2 token limit (256 max)

FixRAGService
Shipped
March 18, 2026 at 2:54 AM UTC
Author
Kamo
Commit
a794078

Chunk target was 2000 chars (~512 tokens) but the embedding model only accepts 256 tokens, causing 413 validation errors. Reduce to 800 chars (~200 tokens) with 100 char overlap.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing