Prompt Engineering in Practice · Anatomy of an effective prompt
The four elements of a prompt
Anatomy of an effective prompt
Introduction
Every effective prompt is made of four potential elements: instruction, context, input data and an output-format hint. You don't always need all four — but it pays to know when each one is essential.