가이드

Zero-Shot vs Few-Shot Prompting

Know when clear instructions are enough and when examples are the fastest way to control a result.

이 프롬프트는 현재 영어로 제공됩니다. 인터페이스는 선택한 언어로 유지됩니다.

Zero-shot A zero-shot prompt describes the task without examples. It is efficient for familiar work with an unambiguous output contract. Start here to discover what the model already understands.

Few-shot Few-shot prompting adds representative input-output pairs. Use it when labels, tone, edge cases, or formatting are difficult to describe precisely. Examples should cover meaningful variation, not repeat the same easy case.

Avoid accidental rules Models may copy irrelevant details from examples. Make examples internally consistent, anonymize sensitive data, and state which traits should generalize.

Evaluate Test on cases unlike the examples. If performance collapses, the prompt may be memorizing surface patterns instead of applying the intended rule.