Asked about Examples, and when they earn their cost
How many examples should you use?
An answer that works
Usually three to five, chosen so each teaches something different. More similar examples add cost without adding information. Always include the empty or unknown case, or the model will never produce it.
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?When would you use few-shot rather than zero-shot?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?