AI EngineeringInterview preparation
Intermediate·Discussion·2 min read

Zero-shot or few-shot?

Practice this question
  • I begin with clear zero-shot instructions.
  • If errors concern category boundaries or formatting, I add a few representative reviewed examples and evaluate them on separate cases.
  • Examples should cover ambiguity, not just easy successes.
Adapted from 13_AI.MD · “29.2 Prompt engineering”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.