Advertisement
Beginner Prompt Engineering, Few-Shot Prompting

What is Few-Shot Prompting

Short answer

Few shot prompting is a technique where a small number of example input and output pairs are included in the prompt to guide the model toward the desired response style.

Save Prompt Engineering mock interview
Advertisement
AModel answer
Few shot prompting is a technique where a small number of example input and output pairs are included in the prompt to guide the model toward the desired response style.
Real-world example
Giving an AI model three example product descriptions before asking it to write a new one is a case of few shot prompting.
Likely follow-ups
  • What is Prompt Engineering, How is Few-Shot Prompting evaluated in practice, What tools are commonly used for Few-Shot Prompting
Related topics