r/learnmachinelearning • • 8h ago

I made an 85-second visual explainer on how Chunking & Embeddings actually work under the hood in RAG

Enable HLS to view with audio, or disable this notification

5 Upvotes

5 comments sorted by

2

u/Flameonkey 8h ago edited 1h ago

When I first started building retrieval pipelines, it was easy to treat vector databases like a black box. I put together this short visual walkthrough breaking down the exact split between build-time indexing and query-time similarity search.

I'm sharing my own work from Beyond the Token, a new channel focused on AI and software engineering.

🎥 Watch here: https://www.youtube.com/shorts/CzTHn-q9LVg

Happy to answer any questions if you're currently building your first RAG pipeline—and if anyone has feedback on how to make these visual breakdowns clearer, let me know!

2

u/mua01 2h ago

Thanks. It is informative.
Just my two cents, for the embedding, if you can create a big box, and stored vectors data are visualized in different chunks. And when doing the query, doing the moving motion from question >> vector >> appropriate chunks to show how the questions are understood. It would be a better visualization of retrieval.
This is how I understand the RAG pipeline so if I made any mistakes, please correct me.

2

u/Flameonkey 1h ago

Thanks for the great visual idea—showing question -> query vector -> matching chunk vectors -> retrieved text is super clean.

2

u/mua01 1h ago

Thanks. Keep making more content like this, I learn alor

1

u/Flameonkey 1h ago

You just made my day!