AI and Machine Learning
Generative AI and LLM Applications
Understand how large language models work and build reliable AI features with prompting, RAG and agents.
20 lessonsAbout 40 hoursIntermediate Certificate
What you will learn
- Explain tokens, embeddings, attention and how LLMs generate text
- Write clear, structured prompts and control randomness with temperature
- Build retrieval-augmented generation (RAG) over your own documents
- Understand AI agents and tool use, and when not to use them
- Evaluate LLM features and defend against prompt injection
About this course
Large language models changed what software can do. This course gives you a clear mental model of how they work, then teaches the engineering practices that turn a demo into a dependable product: grounding answers in your data, measuring quality, and keeping users safe.
The ideas apply to any model provider. Exercises are in plain Python, and the capstone is an AI feature you design, evaluate and present.
Curriculum
How LLMs work5 lessons
- Large language models, explained brieflyVideo
- Tokens, context windows and temperatureArticle
- Simulation: temperature and top-kInteractive package
- Explore: inside a transformerEmbed
- Deep dive: an introduction to large language modelsVideo
Prompting well4 lessons
- Prompt patterns that workArticle
- Coding: a safe prompt templateCoding practice
- Generative AI vocabularyFlashcards
- Go further: the Hugging Face LLM courseLink
RAG and agents11 lessons
- What is retrieval-augmented generation?Video
- What are embeddings?Video
- The RAG architectureImage
- Coding: semantic search with cosine similarityCoding practice
- What are AI agents?Video
- Evaluating and securing LLM featuresArticle
- LLM application checklist (PDF)Document
- Audio recap: from demo to dependableAudio
- Quiz: generative AI fundamentalsQuiz
- Assignment: design a RAG assistantAssignment
- Capstone: ship an AI featureCapstone project