Krina Vaghela
← Blog

Day 36: Chunking strategies for RAG

What I learned about chunking strategies.

Documents need to be split into smaller chunks before they can be used in RAG.

I learned about two common approaches:

1Fixed-size chunking

Split text by a predefined limit of characters, words, tokens, or sentences.

  • Simple and efficient, but it can break an idea in the middle.

2Semantic chunking

Split text when the meaning or topic changes.

  • Better preserves context, but requires more processing.

Read this post on LinkedIn → (opens in a new tab)

↑ ↓ to move · Enter to open · Esc to close