What prompt engineering is
Role
Who the model should act as
Task
What you want done
Constraints
Limits and rules to respect
Examples and format
What good output looks like
Prompt engineering is the practice of designing the input you give an AI model. Teradata describes it as focusing on how a request is written: the role, task, constraints, examples and expected output.
IBM defines a prompt as the input text or query provided to a model to generate a response. Prompt engineering techniques are strategies to design and structure those inputs.
Think of it as writing a clear brief for a new colleague. See our entry on prompt engineering for the basics.