Asked about Examples, and when they earn their cost
When would you use few-shot rather than zero-shot?
An answer that works
When the task is easier to demonstrate than describe: an unusual format, a subtle judgement, a tone. Start zero-shot, because examples cost tokens on every call, and add them when you can measure that they help.
Reading an answer is not being able to give one. The section that teaches this is Examples, and when they earn their cost, 3 hours of Prompting.
Learn this properlyAlso asked about Prompting
A prompt works most of the time but occasionally returns the wrong format. What do you do?How do you stop a model inventing data during extraction?Does telling a model it is an expert improve results?How many examples should you use?What is a risk of few-shot prompting?Does chain-of-thought prompting still help?How do you know a prompt change actually improved things?When would you split one prompt into several calls?