
The n8n Masterclass Stop Vibe Coding: Context Engineering & RAG for AI Agents with Cole Medin
27 snips
Dec 22, 2025 In this conversation, Cole Medin, CTO of Automator and applied AI expert, dives into the intricacies of context engineering and Retrieval Augmented Generation (RAG). He emphasizes transforming casual 'vibe coding' into a structured approach to improve AI workflows. Cole shares practical tips on defining success criteria for projects, the importance of a solid planning phase, and advice for using AI to ask the right questions. He also discusses the value of communities in staying updated and introduces strategies for managing messy data efficiently.
AI Snips
Chapters
Transcript
Episode notes
Use Embeddings And Supabase For RAG
- Use an embedding model + vector DB (e.g., Supabase PGVector) to enable semantic search.
- Return nearest embeddings as extra context to the LLM for better answers.
Vectors Let RAG Scale
- Vector search scales to very large corpora because queries compare proximity in vector space, not full scans.
- You only retrieve nearby concepts, keeping context compact and relevant.
Filter Vectors With Metadata
- Attach metadata to each vector to enable filtering, multi-tenancy, and hierarchical searches.
- Use metadata to isolate clients or departments while keeping a single vector store.
