Prompting & Interaction
Few-Shot Prompting
Giving an AI a small number of examples before asking it to perform a similar task.
Definition
Few-shot prompting improves model performance on specific tasks by including two to ten examples of the desired input-output pattern in the prompt itself. Rather than relying purely on the model's pre-trained knowledge, you're showing it exactly what you want. For tasks with unusual formats, specialist terminology, or specific output structures, few-shot examples often produce dramatically better results than zero-shot prompting.
Related Terms
Heard enough terminology — ready to talk outcomes?
We translate AI concepts into measurable business results. No upfront fees — you pay only when independently verified results are delivered.
Disclaimer
This definition is provided for educational and informational purposes only. It represents a general explanation of a technical concept and does not constitute professional, technical, or investment advice. Artificial intelligence is a rapidly evolving field; terminology, techniques, and capabilities change frequently. Coaley Peak Ltd makes no warranty as to the accuracy, completeness, or currency of the information provided. Nothing on this page should be relied upon as the sole basis for commercial, technical, legal, or investment decisions without independent professional advice.
Document reference: ISO_webpage_knowledge-base_glossary_v1
Last modified: 29 March 2026
Knowledge Base·Prompting & Interaction·Few-Shot Prompting