Building AI Applications with Retrieval-Augmented Generation (RAG)
Build the retrieval side of a RAG application in Python: similarity search, a small vector store, chunking, grounded prompts with citations, retrieval evaluation, hybrid search and query expansion, and access control, with real embedding and vector-database code shown alongside.
- Intermediate level
- 4 modules
- 10 lessons
- 28 tasks and questions
Syllabus
01RAG FoundationsWhy language models need retrieval, how similarity search finds relevant text, and how a vector store organizes it.3 lessons
02Building the PipelineSplit documents into chunks, assemble grounded prompts with numbered sources, and check that answers cite their sources.3 lessons
03Improving and Securing RetrievalMeasure retrieval quality, combine rankings and expand queries to find more of the right documents, and keep restricted content and injected instructions out of answers.3 lessons
04Project: The Makerspace AssistantAssemble the retrieval pipeline end to end, with permissions, query expansion, grounded prompts and an evaluation.1 lesson