Skip to content
Everything *[NYC] 2026: see what we announced. →

Prompt engineering definition

Prompt engineering is the practice of designing, structuring, and refining the natural language input given to a generative AI model so that it produces a specific, reliable output. The input itself is the prompt, text that describes and prescribes the task the model should perform.


A diagram explaining Prompt engineering in terms of related concepts.

What is a prompt, and how is it different from prompt engineering?

Why does prompt engineering work at all?

What are the main prompt engineering techniques?

How is prompt engineering different from context engineering?

Is prompt engineering still a job?

How do you apply prompt engineering inside a content system?

Explore Sanity Today

Understanding prompt engineering is just the beginning. Take the next step and discover how Sanity can enhance your content management and delivery.

Last updated: