Module 18
RAG and agent
embedding, chunking, vector search, RAG, agent loop
When you finish this module you can say:
I can turn text into embedding vectors, find the pieces closest in meaning to a question, hand those to a language model as context to build RAG, and write a simple agent loop.
By the end of this module you'll be able to write a RAG assistant that answers questions about your own notes by finding the relevant pieces first, and a simple agent loop that can call a tool over and over.
StartLessons
6 lessons · ≈ 60 min
- Embedding and cosine similarity9 min
- Chunking9 min
- Vector search10 min
- The RAG pipeline10 min
- Agent loop and evaluation10 min
- Project: An assistant for your own notes12 min · project
Practice exercises
Short writing exercises, independent of the lessons: Go to the exercises