What is prompt engineering?
Prompt engineering is writing and testing prompts on purpose, changing one thing at a time until an AI reliably gives the answer you need.
Last updated
In real life
Like adjusting a recipe: you change one ingredient, taste it, then change the next, until it comes out right every time.
Try it yourself
The demo sets a goal for the answer: right for a nut-free party for a six-year-old, easy to compare, a list of 3, and written like an expert. Each change to the prompt is a new version, and you see how many of the four checks it passes.
Your prompt: add building blocks
What you send
Suggest a cake.
Prompt strength: 0 of 4 blocks
What a good answer needs
- Right for a nut-free party for a 6-year-old: not yet
- Easy to compare: difficulty and time for each: not yet
- A short list of 3: not yet
- Written like an expert baker: not yet
Versions tried
- v1: 0/4
AI reply
There are lots of kinds of cake, and the best one depends on the occasion and who's eating it. Popular choices include chocolate cake, Victoria sponge and carrot cake. Each has its own style, so it's worth thinking about what you like.
Each change is a new version. Change one block at a time and watch which checks pass: that's prompt engineering, testing until the answer is right.
Prompt engineering vs prompt
A prompt is one message you send to an AI. Prompt engineering is the skill of improving prompts: setting a goal, testing versions and keeping what works.
Common questions
Is prompt engineering a real job?
Some companies hire for it, but more often it's part of other jobs, like support, marketing or software. The skill matters more than the title.
Do I need to code to do prompt engineering?
No. Most of it is clear writing and careful testing. Code only helps when the same prompt runs thousands of times inside an app.
Where you will use this
Quick check: Prompt engineering
Question 1 of 3