> Markdown version of [/events/world-congress-2024/sessions/186-build-rag-from](https://www.wearedevelopers.com/events/world-congress-2024/sessions/186-build-rag-from). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Build RAG from Scratch - **Date:** Thursday, Jul 18, 2024 - **Time:** 15:30–16:00 (30 min) - **Room:** STAGE 11 (700) - **Event:** World Congress 2024 ## Recording [Watch recording](https://www.wearedevelopers.com/videos/1115-build-rag-from-scratch) ## Description Retrieval augmented generation (RAG) provides large language models with up to date information and helps them hallucinate less. But how does it all work beneath the covers? In this live coding session we'll build the components of a RAG system from scratch. (Aside from the LLM, there probably isn't time for that!) By building our own, we'll understand vectorisation, similarity search, and the role of embedding models and vector databases. We'll then plug it all together to see our augmented bot in action. You'll get a good grounding in the components of successful chatbots and why they work. ## Speaker ### [philnash](https://www.wearedevelopers.com/@philnash) Developer advocate for DataStax ## Related talks at this congress - [Hands-on Workshop: Build-your-own-RAG in minutes](https://www.wearedevelopers.com/events/world-congress-2024/sessions/12-hands-on-workshop) — David Leconte - [Hands-on Workshop: Build-your-own-RAG in minutes](https://www.wearedevelopers.com/events/world-congress-2024/sessions/5-hands-on-workshop) — David Leconte, Michel de Ru - [Exploring Advanced Patterns in Retrieval-Augmented Generation](https://www.wearedevelopers.com/events/world-congress-2024/sessions/433-exploring-advanced) — Carl Lapierre - [Large Language Models ❤️ Knowledge Graphs](https://www.wearedevelopers.com/events/world-congress-2024/sessions/122-large-language) — Michael Hunger