You give Copilot one worked example before your request. Which technique is this?
Why B is the answer
One-shot prompting
One example is one-shot. No example is zero-shot, and several are few-shot.
In detail
- One worked example makes it one-shot prompting.
- Add more examples if one is not enough.
Use case
An illustrative scenario, not a real incident.
A developer shows one example of an error message, then asks for more. That single example sets the format.
See it in different ways
mindmap
root((Prompting))
Examples
Zero-shot
One-shot
Few-shot
Structure
General, then specific
Small tasks
Target
Tests first
Context
New thread when staleflowchart TD
Q{"How many examples?"}
Q -->|"Zero"| A0["Zero-shot"]
Q -->|"One"| A1["One-shot"]
Q -->|"Several"| A2["Few-shot"]Key point: One example makes it one-shot.
Why the other options are wrong
- A. Chain of command
- That is not a prompting technique.
- C. Temperature tuning
- That is not what giving an example does.
- D. Zero-shot prompting
- Zero-shot uses no example.

