Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Zero-shot prompting

Definition

Asking a model to perform a task from instructions alone, without giving it any worked examples of the inputs and outputs.

In more detail

Modern instruction-tuned models handle many tasks zero-shot. Add examples when the output format or judgement is hard to describe in words.

Zero-shot works best when the task is common and the instruction is precise: say what to produce, for whom, in what format and what to do with edge cases. If results vary or the format drifts, adding two or three examples is usually the quickest fix. Compare both versions on the same test inputs rather than judging from one run.

  • Few-shot prompting

    Including a few input and output examples in the prompt so the model can copy their pattern, format and level of detail.

  • Prompt engineering

    Designing, testing and refining prompts so a model produces the output you need reliably, across many inputs and not just one.

  • Prompting fundamentals: clear tasks, examples and formats

    How to write a good prompt: frame the task, say who the output is for, show an example and specify the format, so a model's answers are useful and repeatable.

    TutorialBeginner25 min

  • Few-shot prompting

    Including a few input and output examples in the prompt so the model can copy their pattern, format and level of detail.

    Glossary

  • Prompt engineering

    Writing clear, testable instructions for models and checking them on real inputs.

    SkillBeginner