
Techniques
Few-Shot vs Zero-Shot Prompting: When Constraints Beat Examples, and When They Don't
Few-shot vs zero-shot prompting comes down to what you're teaching. If the model needs a format, written constraints are often shorter and clearer than examples. If it needs a style or a pattern it can't infer, examples still earn their place.
Brian Gagne

