Trick
Intermediate
Zero-Shot vs. Few-Shot Prompting
February 23, 2025
Zero-shot prompting asks an LLM to perform a task without prior examples. Few-shot prompting provides 1-5 examples within the prompt, often significantly improving performance on novel tasks.
Category: Prompt Engineering
Difficulty: Intermediate