Applications of Foundation Models

A developer needs a model to classify support tickets using custom labels. The prompt includes four labeled tickets before a new ticket. Which technique is being used?

Show the answer

Correct answerB. Few-shot prompting

AWhy not this: Chain-of-thought prompting encourages intermediate reasoning rather than being defined by labeled examples.

BWhy this is right: Several labeled tickets demonstrate the desired classification behavior before the model handles a new ticket.

CWhy not this: Single-shot prompting supplies one example, not several labeled examples.

DWhy not this: Zero-shot prompting provides task instructions without examples of the desired task behavior.

Few-shot prompting provides several examples to demonstrate the desired task behavior. Single-shot prompting provides only one example, regardless of how many labels the task uses.