Syllabus

  1. 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
    1. 01What Prompt Engineering Is
    2. 02The Anatomy of a Prompt
    3. 03Clear, Specific and Direct
  2. 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
    1. 01Zero-Shot and Few-Shot Prompting
    2. 02Step-by-Step Reasoning
    3. 03Prompt Chaining
    4. 04Exploring Several Answers
    5. 05Reason and Act: How Tool-Using Assistants Work
  3. 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
    1. 01Breaking Down Complex Requests
    2. 02Controlling Tone, Style and Complexity
    3. 03Asking for Structured Output
    4. 04Reusable Prompts and Prompt Libraries
  4. 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
    1. 01Persona and Audience Patterns
    2. 02Input and Output Patterns
    3. 03Interaction Patterns
    4. 04Diagnosing and Fixing Bad Output
  5. 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
    1. 01Grounding Answers in Your Own Data
    2. 02Testing Whether a Prompt Works
    3. 03Prompt Injection and Responsible Prompting
    4. 04Project: Two Prompts from Start to Finish