Core Concepts

Prompt Engineering

Also known as: prompt design

In one line

The craft of writing prompts that get accurate, useful answers from AI.

What does Prompt Engineering mean?

Prompt engineering combines clear instructions, role assignment, examples (few-shot), step-by-step reasoning (chain-of-thought), and output formatting to consistently steer LLM behaviour.

A real-world example

Adding "think step by step" and "return valid JSON only" to a prompt to improve reliability.

Related terms