Prompt Engineering Demo
See how adding structure to a prompt changes what comes back. Toggle role, objective, format, and examples to compare AI responses in real time.
3 scenarios · 4 techniques · instant feedbackBuild Better Prompts, Step by Step
Pick a scenario, flip the controls, and watch the prompt and answer update instantly. Every toggle teaches a different technique.
1. Prompt
Choose a scenario to explore.
Prompt sent to model
Explain recursion.
2. Controls
Toggle techniques on and off.
3. Answer
What the model returns given the current prompt.
Recursion is when a function calls itself. It's used to solve problems that can be broken down into smaller versions of the same problem. A recursive function needs a base case to stop it from calling itself forever. Common examples include calculating factorials and traversing trees. If you forget the base case, you'll get a stack overflow error.
Prompt quality
Scores reflect active technique choices, not content quality.
No controls active. The model receives a bare question and returns a generic answer — accurate in places, but shallow, and formatted however it chooses.
Prompting is just one piece of the puzzle
Better prompts lead to better results, but output quality also depends on source quality, task design, context selection, evaluation rigour, and model limitations. Prompt engineering is a powerful skill — not a silver bullet.
Four Techniques That Transform Any Prompt
Each control adds a structural element to the prompt. Combined, they take a vague question and turn it into a precise instruction.
Clarify Objective
Tells the model exactly what angle you need. Without it, the model guesses your intent and often misses.
Act As (Role)
Shapes the perspective, vocabulary, and depth. The same question to an engineer, a coach, and a writer produces three different answers.
Preferred Output
Controls the format so the answer is immediately usable \u2014 bullets for scanning, JSON for code, paragraphs for prose.
Include an Example
Bridges theory and practice. A concrete illustration turns an abstract answer into something you can act on immediately.
Ready to Master Prompt Engineering?
This demo shows four techniques. The full AI Tutorium programme teaches dozens more \u2014 with hands-on practice, real projects, and expert feedback.
Get AI Tips Delivered to Your Inbox
One email a week with practical AI tips, new learning paths, and resources we genuinely think are worth your time. No spam, unsubscribe anytime.