AI & DataBeginner
Prompt Engineering
PronunciationPROMPT en-jin-EER-ing
Definition
Writing clear instructions (prompts) with context and examples so an AI model gives accurate, consistent answers.
Where you hear it
Building AI features and using AI tools daily.
Examples
Better prompt engineering reduced wrong answers.
Give the model two examples of the output format you want.
Adding the expected JSON shape to the prompt cut the parsing errors in half.
Common mistake
Writing vague prompts and blaming the model. Be specific about the task, the format, and the limits.
Don't confuse with
Prompt engineering is often confused with prompt injection; the former is the constructive process of optimizing inputs to guide a model, while the latter is a security vulnerability where an attacker manipulates inputs to bypass model constraints.
Say it at work
- In a meeting or chat
I've been tweaking our prompt engineering to make the chatbot's tone more consistent with our brand guidelines.
- In an email or ticket
Please review the updated prompt engineering documentation to ensure our system prompts follow the new security standards.