What technique involves providing a few examples in the prompt to guide an LLM's response?
Answer options
A
Zero-shot prompting
B
Few-shot prompting
C
Fine-tuning
D
Transfer learning
Correct answer: Few-shot prompting
Explanation
Quick AnswerThe correct answer is Few-shot prompting because it directly addresses the core logic of Generative AI.
Few-shot prompting involves providing a few input-output examples in the prompt to demonstrate the desired task and format. This leverages the model's in-context learning ability without updating its weights.