← Back to all courses
Course 05 of 10

Generative AI

LLMs, RAG, LangChain
21 classes5+ projectsJul – Nov 202605 Generative-AI

The complete modern GenAI stack — how LLMs work, prompt engineering, embeddings, vector databases, RAG, LangChain, fine-tuning, multimodal models, agents and production GenAI with MCP.

How links work here: every class, project, notes, code and interview-prep link for this course opens the main course folder on GitHub — https://github.com/waleedkhokar/python-ai-engineering-journey/tree/main/05%20Generative-AI — so you always land in the right place, never on a guessed sub-folder.

What You Will Learn

LLM FundamentalsPrompt EngineeringEmbeddingsVector DatabasesRAGLangChainTool CallingFine-TuningMultimodal AIAI AgentsMCP

All Classes

Every class in this course, in order — with exactly what each class teaches. Notes, code and interview prep for each class live in the course folder on GitHub.

00

Setup & Environment

Python, API keys, environment variables, Git, notebooks, package management.

01

GenAI Fundamentals

Generative models, use cases, AI vs ML vs DL vs GenAI, limitations.

02

LLM Fundamentals

Tokens, tokenization, context windows, transformer recap, temperature, sampling, hallucinations.

03

LLM APIs & Providers

OpenAI, Claude, Gemini — messages, roles, streaming, retries, model selection.

04

Prompt Engineering

Instructions, few-shot prompting, context, templates, decomposition, prompt-injection awareness.

05

Structured Outputs

JSON schema, Pydantic, structured responses, validation, parsing failures.

06

Embeddings & Semantic Search

Vector representations, cosine similarity, embedding models, chunking.

07

Vector Databases

FAISS, Chroma, pgvector, metadata filtering, hybrid search.

08

RAG Fundamentals

Document ingestion, PDF loading, chunking, retrieval, citations.

09

Advanced RAG

Query rewriting, metadata-aware retrieval, reranking, hybrid search, parent-child chunks, RAG evaluation.

10

LangChain

Components, model interfaces, prompts, output parsers, chains, loaders, retrievers.

11

Tool Calling & External APIs

Function schemas, external APIs, database queries, validation, error handling.

12

LLM Evaluation & Guardrails

Test datasets, correctness, groundedness, regression testing, output constraints, safety.

13

Fine-Tuning & Open Models

Prompting vs RAG vs fine-tuning, datasets, LoRA / QLoRA, evaluation.

14

Multimodal GenAI

Vision-language models, image understanding, audio, speech, multimodal inputs.

15

AI Agents Fundamentals

Model + tools + state, agent loops, stop conditions, failure handling.

16

Agentic AI & Workflows

ReAct, planning, routing, parallel workflows, reflection, deterministic vs agentic.

17

Agent Memory & State

Conversation history, short-term and long-term memory, persistence, checkpoints.

18

Multi-Agent Systems

Supervisor patterns, handoffs, shared state, delegation, coordination.

19

Production GenAI

FastAPI, async, streaming, Docker, auth, caching, cost, tracing, monitoring.

20

Advanced Protocols & Integration (MCP)

MCP clients and servers, resources, prompts, tools, authentication, approval workflows.

Projects in this course

Build them all — each project lives in the course folder on GitHub.

Interview Preparation

Every class in this course includes interview preparation. Open the course folder on GitHub for the full material.

Common Interview Questions

The questions interviewers actually ask on this course's topics, with clear, structured answers.

Open Interview Prep

Coding Challenges

Hands-on problems for each class, so you can prove the skill, not just describe it.

Open Interview Prep

Common Mistakes to Avoid

The errors beginners make with these topics — and how professionals avoid them.

Open Interview Prep

Best Practices

How working engineers write this code in production: clean, tested and maintainable.

Open Interview Prep
← Previous Course
04 · Deep Learning