Imagine you’ve just hired a brilliant, eager, but slightly literal-minded intern. They have read every book in the library, but they have never worked in your specific field before. How you give them directions will determine whether they succeed or fail. In the world of Artificial Intelligence (AI), these directions are called “prompts.” The secret to getting what you want from an AI lies in how many “shots”, or examples you give it.
Zero-shot prompting is like telling your intern, “Organize these files.” You provide zero examples of how you want it done. There is no information on what system they should use to organize the files. You are relying entirely on their general knowledge from the library.
Now this can quickly work for common tasks like “Write an email” or “Summarize this article page.” Since they don’t know your specific language or style, they might organize by the date the file was created instead of by client name.
One-shot prompting is providing exactly one example. It’s like telling o, “Organize these files for me. For example, here is a folder I did earlier where I put the client name first, followed by the year.” By providing one “shot”, or example, you have given the intern a template they can follow for organizing the remaining files. They no longer have to guess your formatting preferences; they just have to copy the pattern you just established. This is a massive leap in accuracy for very little extra effort.
Few-shot prompting is when you provide three, five, or even ten examples. It’s like sitting down with your intern and showing them five different files you’ve processed. “Here is how we handle a bill, here is how we handle a contract, and here is how we handle a memo.” Now, the intern isn’t just following a template; they are recognizing a pattern. Few-shot prompting is the gold standard when you need the AI to mimic a specific tone (like your brand’s voice) or a complex logic that one example can’t fully explain.
By mastering the “shots,” you aren’t just using AI; you are managing it.
