A developer is choosing between zero-shot and few-shot prompting for two separate Copilot Chat tasks. They want to reserve few-shot prompting for the cases where worked examples genuinely earn their place in the prompt. In which situations does adding examples to the prompt most justify a few-shot approach? Select TWO.
- AThe task must produce output in a strict in-house shape, such as a bespoke log line whose field order and bracket style the model keeps getting subtly wrong from a plain instruction. Correct
- BThe task is classifying tickets into company-specific categories whose names and boundaries are not standard terms, and a plain instruction keeps placing items in the wrong category. Correct
- CThe task is converting a Celsius value to Fahrenheit using one well-known formula, where a single plain instruction already produces the correct result without any demonstration.
- DThe task is so large that it must be split into a sequence of refining Chat prompts, because few-shot prompting is the mechanism that breaks a feature into ordered steps.
- EThe task needs the answer verified against authoritative sources, since adding examples is the recognised way to make Copilot confirm versions and rate limits are current.
Why A is correct: A bespoke output shape the model cannot infer from words is exactly what worked examples lock in, so demonstrating the format earns the few-shot cost.
Why B is correct: Non-standard categories the model has no prior notion of are clarified by labelled examples that show each category's boundary, which a plain instruction cannot convey.
Why C is wrong: This is tempting because any task can take examples, but a common formula the model already knows is the textbook zero-shot case, so examples add cost without benefit.
Why D is wrong: This conflates techniques; decomposing a feature into ordered steps is iterative prompting, not few-shot, which is about supplying examples rather than sequencing work.
Why E is wrong: This misattributes a safeguard to a technique; examples shape output form and never verify currency, which remains a manual check against authoritative sources.