What is prompt engineering?

Definition

Prompt engineering turns a user's objective into instructions an artificial intelligence model can follow. A prompt can specify the task, audience, constraints, desired format, source material and examples of an appropriate voice or result. Clear context reduces the amount the model must infer.

The process is usually iterative. A user evaluates the model's response, identifies missing or weak parts and changes the instructions or supporting context. For writing tasks, this can include supplying examples, asking for several options and separating idea development from final editing.

Prompt engineering improves control, but it does not guarantee truth or quality. Model output still needs to be checked against reliable evidence and the user's real goal. Important workflows combine good prompts with review, testing and explicit acceptance criteria.

Acronyms and aliases

AI prompting variant

Frequently asked questions

How does prompt engineering improve artificial intelligence output?

It gives the model clearer goals, relevant context, examples and constraints, which reduces ambiguity and makes the response easier to evaluate against the intended task.

Does prompt engineering remove the need to edit model output?

No. A well-designed prompt can improve relevance and consistency, but a person must still verify facts, assess judgment and revise the response for the intended audience.

What belongs in a useful writing prompt?

A useful writing prompt commonly states the purpose, audience, source context, tone, format and constraints, and may include examples that demonstrate the desired voice or structure.

Videos explaining prompt engineering