4 min readJust now

Press enter or click to view image in full size

Building a Retrieval-Augmented Generation (RAG) pipeline is exciting — until you hit the dreaded “chunking” step.

You’ve got your documents, your embedding model, and your vector database ready. But then you have to decide: How do I split my text?

  • Is chunk_size=512 better than chunk_size=1000?
  • Should I use a 50-token overlap or 200?
  • Is splitting by paragraph smarter than splitting by arbitrary length?

For most of us, the answer is a guess. We pick a default value, run the pipeline, and hope the LLM gets the right context. If the answers are bad, we randomly tweak the numbers and try again.

This is engineering by feeling. And in the world of AI, engineering by feeling is expensive and ineffici…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help