Provide a handful of input-output examples to steer model behaviour — the most reliable way to get consistent, formatted output.
Five passes over the same idea, each from a different angle. Do them in order, or jump to whichever you need.
Few-shot prompting gives the model 2-5 examples of desired input-output pairs before the actual query. It teaches format, style, reasoning pattern, and edge-case handling without any fine-tuning. The choice of examples, their diversity, and their order all matter significantly for performance.