# Prompt engineering: what it is and how it works · Zorraquino
> Prompt engineering is the practice of designing, testing and refining instructions to obtain suitable results from a generative model.
URL: https://www.zorraquino.com/en/dictionary/prompt-engineering

# Prompt engineering

Prompt engineering is the practice of designing, testing and refining instructions to obtain suitable results from a generative model

What it means, how it is used and where it comes up, with its related concepts.

[The whole glossary](https://www.zorraquino.com/en/dictionary)

## What it is and how it works

It includes clarifying tasks, providing examples and defining formats. Its effectiveness should be measured with representative cases. A wording that works once does not guarantee consistency, and results can change when the model or the context changes.

Topics

[Artificial intelligence](https://www.zorraquino.com/en/dictionary/category/inteligencia-artificial)

## Related concepts

- [Prompt](https://www.zorraquino.com/en/dictionary/prompt)
- [Prompt injection](https://www.zorraquino.com/en/dictionary/prompt-injection)
- [Foundation model](https://www.zorraquino.com/en/dictionary/foundation-model)
