SpinTheMic
Pro

Interview practice question

Fixed examples don't cover diverse inputs

Machine Learning · Prompt Engineering · Intermediate

Your classification prompt includes five fixed examples, but accuracy is poor on less common categories. How do you improve it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Dynamic few-shot selection based on input similarity.
  • Build an example library covering all categories.
  • Ensure rare categories have good examples.
  • Improve category definitions.
  • Evaluate per category.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics