Artificial Intelligence · Understanding & Using AI

Prompt Engineering

33 short lessons with interactive exercises. You start from zero and move from beginner to advanced.

  • 33 lessons
  • 3 levels
  • Arabic & English
  • Start free

What you will learn

  • Write a clear prompt with an explicit task, the right context and a defined output format
  • Extract information from a long text, then summarize it and classify it into structured output
  • Break a big task into numbered steps, and verify an LLM's answer before you rely on it
  • Evaluate two versions of a prompt against written criteria, and protect it from prompt injection

About this course

A conceptual course in prompt engineering, with no code. It starts with writing a clear prompt, defining the task, adding context, giving the model a role, output formatting, constraints, examples, and common prompt mistakes. Then come few-shot and zero-shot prompting, task decomposition, multi-step prompts, information extraction, classification, summarization, rewriting, structured outputs, long context, source-grounded prompts and response verification. It ends with prompt chaining, system prompts, templates, prompt injection and prompt security, and evaluating, testing, optimizing and designing prompts for production.

Skills

  • Prompt Engineering
  • Artificial Intelligence
  • Prompt Evaluation
  • Prompt Security

Lessons

Every lesson is short, and the exercises after it lock in what you learned.

Beginner level

10 lessons
  1. Introduction to Prompts
  2. Writing Clear Prompts
  3. Task Definition
  4. Providing Context
  5. Role Prompting
  6. Output Formatting
  7. Prompt Constraints
  8. Using Prompt Examples
  9. Prompt Iteration
  10. Common Prompt Mistakes

Intermediate level

12 lessons
  1. Few-Shot Prompting
  2. Zero-Shot Prompting
  3. Task Decomposition
  4. Multi-Step Prompts
  5. Information Extraction
  6. Classification
  7. Summarization
  8. Rewriting
  9. Structured Outputs
  10. Long-Context Prompting
  11. Source-Grounded Prompts
  12. Response Verification

Advanced level

11 lessons
  1. Prompt Chaining
  2. System Prompts
  3. Dynamic Prompts
  4. Prompt Templates
  5. Prompt Injection
  6. Prompt Security
  7. Prompt Evaluation
  8. Prompt Testing
  9. Prompt Optimization
  10. Tool-Use Prompts
  11. Production Prompting

Start your first lesson today

Get the Lammah app and pick “Prompt Engineering” from the courses. Each lesson takes a few minutes, and you can start free.

Learn tech skills easily, for freeGet the app