AI Courses

Prompt Engineering

Get the best out of language models: system prompts, few-shot, chain-of-thought, structured outputs, and evaluation.

21 Lessons
Knowledge Course
01

What Is Prompt Engineering?

Designing instructions that get reliable model behavior — a discipline, not a parlor trick.

40 min
02

Prompt Structure

The anatomy of a strong prompt: task, context, constraints and output format.

50 min
03

Roles & Context

System prompts, personas and context injection — set the stage for better outputs.

50 min
04

Few-Shot Examples

Teach by demonstration: a handful of examples beat paragraphs of description.

55 min
05

Chain-of-Thought Reasoning

Prompt the model to reason step by step — dramatically better on math and logic.

55 min
06

Structured Outputs

Force JSON, enums and schemas — reliable data out of free-form models.

55 min
07

Prompting for Code

Generate, review and debug code with prompts that describe behavior, not just syntax.

55 min
08

Prompting for Images

Text-to-image prompting: composition, style, lighting and negative prompts.

50 min
09

Prompting for RAG

Write retrieval-grounded prompts: cite sources, handle missing context, stay faithful.

55 min
10

System Prompts in Production

Design the system prompt as the contract of your product.

55 min
11

Advanced Prompting Techniques

Self-consistency, generated knowledge, tree-of-thought and ReAct-style scaffolding.

60 min
12

Prompt Injection Defense

Attacks that hijack instructions — and the layered defenses that stop them.

55 min
13

Evaluating Prompts

Turn prompt tweaks into measured improvements with a fixed eval set.

55 min
14

Prompt Versioning & Management

Store prompts as artifacts: version, tag and roll back like code.

50 min
15

Prompt Playgrounds & Tooling

The tooling ecosystem: playgrounds, prompt managers, and test runners.

50 min
16

Prompt Caching & Cost

Cache long system prompts and reuse embeddings to cut cost and latency.

50 min
17

Domain-Specific Prompting

Legal, medical, finance and education: prompts tuned to domain constraints.

55 min
18

Safety in Prompting

Write prompts that refuse harmful requests and stay within policy.

50 min
19

Optimizing Prompts for Cost

Shorter prompts, fewer tokens, right-sized models — quality per dollar.

50 min
20

Prompt Engineering in Production

Assemble everything: versioned prompts, evals, guardrails and monitoring.

60 min
21

Prompt Engineering Roadmap

Synthesize the course into a practice plan: build a prompt system, measure, refine.

40 min
Curated Resources