📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

Which prompting technique gives the model a few worked examples before asking it to solve a new problem?

A. Zero-shot prompting
B. Few-shot prompting ✅
C. Chain-of-thought prompting
D. Temperature sampling

Correct Answer: B. Few-shot prompting

Explanation

Few-shot prompting includes a small number of input-output examples in the prompt to show the desired pattern.