Course details
Prompt Engineering
Learn how large language models turn text into text, and how to steer them on purpose. You will control randomness and length, use zero-shot, few-shot and reasoning techniques, and test prompts for bias, overconfidence and attack — all on one running task: a support inbox for a small bike shop.
Course curriculum
Introduction3 lessons
See a language model as a next-token predictor, a prompt as everything the model reads before it answers, and prompt engineering as the habit of designing and testing that input on purpose.
How LLMs Behave5 lessons
Tokens and the context window, what model weights store, why models hallucinate, when to prompt versus retrieve versus fine-tune, and how agents open the door to prompt injection.
Controlling the Output4 lessons
The settings that shape what comes out beyond the prompt text: temperature, top-k and top-p sampling, max tokens, stop sequences, and frequency and presence penalties.
Core Prompting Techniques3 lessons
Zero-shot prompts with sharp instructions, one-shot and few-shot prompts that teach by example, and system, role and contextual prompts that set the frame for everything else.
Prompting for Reasoning5 lessons
Chain-of-thought and step-back prompting for multi-step problems, self-consistency for more reliable answers, tree of thoughts for exploring options, and ReAct for mixing reasoning with tool use.
Testing and Improving Prompts4 lessons
Let a model search for better prompts, have models grade outputs, keep confidence honest, remove bias from examples, and red-team the whole system before it meets real customers.
