🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Prompt Engineering: all 10 questions

Quiz: Prompt Engineering · Question 8 of 10

What should few-shot examples look like?

What should few-shot examples look like?

  1. A.All identical, so the model is not confused
  2. B.Long essays explaining the rules
  3. C.Copies of the user's question
  4. D.Varied input and output pairs that show the exact style and edge cases
Answer & explanation

Correct answer: Varied input and output pairs that show the exact style and edge cases

Examples that all share an accidental pattern teach that pattern too.

Can you get the rest right without peeking?

Take the timed Quiz: Prompt Engineering quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →