Zero-shot works because large language models acquired a broad understanding of language and tasks during training. The prompt contains only the instruction itself, such as translate this sentence into French. For simple, well-defined tasks, zero-shot often already delivers good results. For more complex or stylistically sensitive tasks, adding examples (few-shot) usually improves quality considerably.
