A public-housing work-order tester pastes four example cases in one ask. A colleague instead runs “extract rules, then draft cases” as two checked steps. How do these techniques differ?
Select an answer to reveal the explanation.
Short Explanation
Examples in one prompt = few-shot. Decomposed steps with a check between them = chaining. Same work-order topic, two different techniques — do not conflate “several examples” with “several checked stages.”
Full Explanation
Few-shot prompting places multiple examples in the prompt to shape behavior. Prompt chaining decomposes the task into intermediate prompts and checks results before continuing. The housing work-order scene contrasts four examples in one ask (few-shot) with extract-then-draft checked steps (chaining).