MongoDB Overview for Building Reliable Modern Applications
summary
Interactive walkthrough of MongoDB core mechanics with hands-on tasks: setting up collections and indexes in a Jupyter lab, creating vector search indexes (512 or 1024 dims) and storing embeddings via Voyage AI, configuring replication (replica sets) and sharding with MongoS routing, and using aggregation pipelines plus TTL for memory pruning. Demo shows a Gemini-powered assistant function and mentions auto embeddings public preview. Ends with a 10-question skill check that issues a verifiable skill badge.
AI-written summary · about
chapters (19)
- 0:00Introduction & Workshop Overview
- 0:40The GenAI Value Problem: Why AI Systems Fail
- 1:40Stateless vs. Stateful: Why AI Agents Need Memory
- 2:43Accessing the Jupyter Notebook Lab Space
- 3:32Framing AI Memory Around Human Cognition
- 4:09Deep Dive: Short-Term Memory & Session History
- 4:23Deep Dive: Semantic, Procedural, & Episodic Long-Term Memory
- 4:49Working Memory & The LLM Scratchpad Explained
- 5:33Lab Exercise 1: Setting Up MongoDB Collections & Indexes
- 5:58CRUD Principles Applied to AI Memory Systems
- 6:23Designing & Extracting Memory Traces
- 7:12Data Modeling for AI Memories in JSON/BSON
- 7:56Retrieval Strategies: Text Search vs. Vector Search
- 8:45Implementing Auto-Embeddings on MongoDB Atlas
- 8:59Maximizing Accuracy with Hybrid Search
- 9:11Leveraging Aggregation Pipelines for Multi-Stage Retrieval
- 9:35Updating Memory: Overwriting vs. Temporal Versioning
- 9:59Deleting Memory: TTL Indexes & Performance Pruning
- 10:44Coding a Gemini-Powered AI Assistant Function
