Artificial Intelligence (AI) · Intermediate level

Intermediate level · Module 3 of 6 · 15 guided hours

Prompt Engineering

Design prompts systematically, use examples and structure, and test prompts like software.

Learning objectives

  • Structure prompts with roles, instructions, context and output formats
  • Use examples and step-by-step guidance effectively
  • Test and version prompts with evaluation sets

Topics

  • prompt structure
  • clear instructions and constraints
  • few-shot examples
  • asking for reasoning and checks
  • prompt templates
  • prompt testing and versioning

Lessons

  1. Lesson 1 Structuring Prompts

    Write prompts with clear roles, instructions, context and output requirements.

    role and instructionscontext and delimitersconstraintsoutput format

  2. Lesson 2 Examples and Step-by-Step Guidance

    Improve outputs with worked examples and by asking the model to follow explicit steps.

    few-shot examplesstep-by-step instructionsself-checkingexample selection

  3. Lesson 3 Testing and Versioning Prompts

    Treat prompts like code: test them on fixed question sets, version them and avoid regressions.

    test setregressionprompt versionsresults log

Practical activity

Develop the prompt for the FAQ assistant through at least three tested versions, recording results on a fixed set of questions.

Expected outcomes

  • Reliable, maintainable prompts
  • Evidence-based prompt improvements

Assessment

Prompt development log with versions, test results and conclusions.

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.