QuestionQ106

VerifiedSolution Design

A developer is creating a few-shot structured prompt for an email-classification task. The prompt contains examples of email subjects labeled with their respective classifications, such as “Spam” or “Work”. What is the most important consideration when choosing examples for the prompt?

Explanation

Few-shot examples establish the pattern the model should follow. Diverse, relevant, and representative examples help the model correctly generalize the intended classification behavior to expected email inputs.

Community Discussion

No comments yet. Be the first to start the discussion!