Using Atlas Vector Search for RAG Applications
Learn how to implement retrieval-augmented generation (RAG) with MongoDB in your application. Learn what retrieval augmented generation is and set it up using the MongoDB Python driver.
Using Atlas Vector Search for RAG
Unit Overview
In this unit, you'll build a retrieval-augmented generation (RAG) application with LangChain and the MongoDB Python driver. First, you'll learn what RAG is. Then you'll learn about several AI integrations and frameworks that can help you build a RAG application. After that, you'll prepare your data because you can only achieve high quality responses with high quality data. Next, you'll set up Atlas Vector Search as your retriever. Finally, you'll create a custom prompt and build the answer generation component of your RAG application.
Prerequisites
Lessons in this Unit
Lesson 1 - What is RAG?
Lesson 2 - AI Integrations and Frameworks
Lesson 3 - Preparing the Data
Lesson 4 - Retrieval
Lesson 5 - Answer Generation

Henry Weller | Product Manager
Henry Weller is the dedicated Product Manager for Atlas Vector Search, focusing on the query features and scalability of the service, as well as developing best practices for users. He helped launch Atlas Vector Search from Public Preview into GA in 2023, and continues to lead delivery of core features for the service. Henry joined MongoDB in 2022, and was previously a data engineer and backend robotics software engineer.

Parker Faucher | University Curriculum Engineer
Parker is a Curriculum Engineer on the Education team at MongoDB. Prior to joining MongoDB, he helped maintain a world class developer bootcamp that was offered in multiple universities. He is a self taught developer who loves being able to give back to the community that has helped him so much.

Aaron Becker | Technologist, Education
Aaron Becker is a Technical Trainer, Instructional Designer, and Training Manager who has worked in the tech sector for over 13 years. Before joining the Curriculum team at MongoDB, Aaron worked in DevOps at CircleCI, creating their first Certification course (CircleCI Associate Developer) and leading a team responsible for creating and managing the educational content for CircleCI Academy for external/customer training, as well as CircleCI University for internal team member training.
Prior to that, Aaron worked in data protection, redundancy, and security at Carbonite, where he headed up the Training team, created and delivered ILT training courses for Carbonite's Mid-Market and Enterprise level products, and assisted over 150 employees in earning Microsoft certifications.
Aaron enjoys writing, performing, recording, mixing and mastering music, playing video games, and writing biographical text in the third person.

Emily Pope | Senior Curriculum Designer
Emily is a Senior Curriculum Designer at MongoDB, where she designs and develops educational content across the entire product portfolio. Her journey began as a teacher in Turkey with the Fulbright program. From there, she moved into online learning and techincal eduation. At Cengage, she designed database and computer science courses. Then later, she worked with professors at MIT and Columbia to design bootcamps in full stack development and data science.

Daniel Curran | Senior Curriculum Designer
Daniel is a Senior Curriculum Designer at MongoDB. Before joining MongoDB, he worked as an Instructional Designer and Content Developer specialising in technical content for a host of international clients. Daniel's goal is to remove obstacles so learners can feel confident on their journey to become masters of MongoDB.

Manuel Fontan | Senior Technologist
Manuel is a Senior Technologist on the Curriculum team at MongoDB. Previously he was a Senior Technical Services Engineer in the Core team at MongoDB. In between Manuel worked as a database reliability engineer at Slack for a little over 2 years and then for Cognite until he re-joined MongoDB. With over 15 years experience in software development and distributed systems, he is naturally curious and holds a Telecommunications Engineering MSc from Vigo University (Spain) and a Free and Open Source Software MSc from Rey Juan Carlos University (Spain).

John McCambridge | University Curriculum Engineer
John is a Curriculum Engineer on the University team at MongoDB. Before his work as a Curriculum Engineer, he was an instructor and teaching assistant for coding boot camps at UT (Austin), and UCLA. Additionally, he worked as a QA engineer for a startup called Coder and spent five years at Apple Inc. John is a passionate software engineer and educator who enjoys taking complex topics and making them digestible for the community.

Davenson Lombard | Senior Software Engineer
Davenson Lombard is a Senior Software engineer at MongoDB on the Education Team. Prior to that, Davenson was a Technical Services Engineer at MongoDB and a Customer Success architect at Confluent. Davenson holds a Bachelor in Electrical Engineering from Concordia University in Montreal.