Prompt Engineering Fundamentals
Write prompts that get reliable results from AI assistants. Learn the parts of a good prompt, core techniques such as few-shot, chaining and step-by-step reasoning, reusable patterns, grounding answers in your own data, and how to test and secure prompts.
- Beginner level
- 5 modules
- 20 lessons
- 62 quiz questions
Syllabus
01Prompt FoundationsWhat prompt engineering is, the building blocks of a prompt, and the habits of clarity and specificity that every technique in this course builds on.3 lessons
02Core TechniquesThe techniques behind most strong prompts: zero-shot and few-shot prompting, step-by-step reasoning, prompt chaining, sampling several answers, and the reason-and-act loop used by tool-using assistants.5 lessons
03Crafting and Reusing PromptsBreak complex requests into manageable parts, control tone, style and complexity, ask for structured output, and turn your best prompts into reusable templates.4 lessons
04Prompt PatternsReusable structures that solve recurring problems: persona and audience patterns, patterns that organize input and control output, interaction patterns, and a checklist for diagnosing bad results.4 lessons
05Grounding, Testing and SafetyGive models the knowledge they lack with context and retrieval, measure whether a prompt really works, and defend against prompt injection and other misuse.4 lessons