Skip to content
Glossary

Prompt Engineering

The practice of designing instructions and context so a model produces reliable, useful output.

Reviewed May 7, 2026

What it is

Prompt engineering is specification writing for a probabilistic system. A good prompt states the task, supplies relevant context, defines constraints and describes the expected output. It may include examples, but it does not rely on magic phrases.

What it is not

It is not a collection of secret words that unlock hidden model abilities. Nor is it a replacement for retrieval, validation or product design. If the task requires current facts, a prompt alone will not supply them.

Practical approach

Test on realistic inputs, change one variable at a time, and record failures by category. A prompt that works on one example is a draft, not a finished asset.

Keep learning

Concepts are easier to remember when you apply them. The foundations path connects this term to practical exercises.

AI foundations path →

Related terms