What is zero-shot vs few-shot prompting?
BeginnerConceptPrompting & structured outputs
Answer
Zero-shot gives only instructions. Few-shot adds a handful of input-output examples showing exactly what you want. Few-shot is very effective for consistent formats, such as turning alert text into a fixed JSON shape, because the model copies the pattern.