Building RAG Applications with MongoDB Atlas
Welcome to the MongoDB-RAG Workshop! Throughout this hands-on experience, you'll learn how to build Retrieval-Augmented Generation (RAG) applications using MongoDB Atlas Vector Search and the mongodb-rag library.
What You'll Learn
In this workshop, you'll:
- Understand RAG fundamentals - Learn how vector search and LLMs work together
- Set up MongoDB Atlas - Create and configure an Atlas cluster with Vector Search
- Generate embeddings - Transform documents into vector embeddings
- Build a complete RAG application - Develop a full application with document ingestion and search
- Implement advanced techniques - Explore hybrid search, metadata filtering, and chunking strategies
- Deploy to production - Learn best practices for scaling your RAG system
Prerequisites
To get the most out of this workshop, you should have:
- Basic knowledge of JavaScript/Node.js
- Familiarity with MongoDB concepts (collections, documents, queries)
- A MongoDB Atlas account (free tier is sufficient)
- An OpenAI API key (or Ollama installed locally)
- Node.js (v16+) installed on your system
Workshop Structure
This workshop is designed to be completed in sequence, with each section building on the previous ones:
- RAG Concepts - Understanding the fundamental concepts
- Setting up MongoDB - Configuring your Atlas environment
- Creating Embeddings - Generating and storing vector embeddings
- Building a RAG App - Creating a full application
- Advanced Techniques - Improving relevance and performance
- Production Deployment - Scaling and monitoring considerations
Estimated Time
The complete workshop takes approximately 2-3 hours to complete. Each section is designed to be completed in 20-30 minutes.