Prompt Engineering: Your First Before and After
A vague prompt gives a vague reply. A specific prompt gives a reply you can send.
Before: the vague prompt
The model has no customer name, no order facts and no job. The reply can only guess.
Write something about order 1042.After: the specific prompt
The same task, with the customer, the order and the facts named. The reply can now be sent.
You are a support agent for ShopStack. Write a short reply to Maya. Her order 1042, an Aurora Ceramic Mug, is shipped and out for delivery. Keep the reply under 40 words and friendly in tone.Example
You are a support agent for ShopStack. Write a short reply to Tom. His order 1043, a Hearthstone Desk Lamp, is still processing and has not shipped yet. Say delivery takes 2 to 4 business days once it ships.Key points
- A vague prompt leaves the model guessing about the job.
- A specific prompt names the customer, the order and the facts.
- The same task, run twice, shows the gap. The improvement is visible, not claimed.
- Specific wording beats more wording. Short and exact wins.
This example runs a specific prompt for a second ShopStack task and shows the reply it gave.
Note
Only the words change between the two runs. The model and the settings stay the same.
Try it Yourself
Edit the code, then press Run.
Running is simulated · Rust Playground
Exercise
What changes between the before prompt and the after prompt?