Glossary

Prompt Engineering

The practice of crafting inputs to get better outputs from a model.

Prompt engineering is the skill of writing inputs that reliably get the output you want from a language model. It covers everything from simple rewording (“explain like I am five” vs “provide a technical summary”) to structured techniques like few-shot examples, chain-of-thought prompting, and role assignment.

Why it matters: The same model can give wildly different results depending on how you ask. A well-crafted prompt can turn a mediocre response into an excellent one without changing the model, the temperature, or anything else. It is the cheapest and fastest way to improve AI output quality.

Core techniques:

  • Be specific about format, length, and audience
  • Provide examples of what good output looks like
  • Use chain-of-thought for reasoning tasks
  • Break complex tasks into steps
  • Tell the model what not to do, not just what to do

The evolving role: As models get better at following instructions, some basic prompt engineering becomes less necessary. But for complex, high-stakes, or novel tasks, careful prompt design still makes a significant difference. The skill is shifting from “tricks to make the model work” toward “clear communication of intent.”

Related terms