Prompt engineering is the practice of designing instructions and examples that steer model behavior without changing model weights.
AI Glossary
Prompt Engineering
Prompt engineering is the practice of designing instructions and examples that steer model behavior without changing model weights.
Definition
Plain English explanation
You carefully write the request so the model is more likely to respond the way you need.
Technical explanation
Prompt design includes instructions, constraints, examples, and output schemas. It interacts with decoding settings (temperature, top-p) and with system prompts in chat stacks.
Why it matters
For many applications, prompt quality and evaluation matter as much as model choice—especially before fine-tuning.
Real-world applications
- Assistant behavior shaping
- Structured extraction via schemas
- Evaluation harness prompts
Benefits
- Fast iteration without retraining
- Improves task adherence
- Enables few-shot patterns
Limitations
- Brittle across model versions
- Does not fix missing knowledge
- Can be attacked via injection if untrusted text is included
Common misconceptions
- There is no single magic prompt that works everywhere
- Prompting is not a substitute for security reviews
Related glossary terms
FAQ
Is prompt engineering a permanent discipline?
Interfaces will evolve, but specifying goals, constraints, and evals remains necessary regardless of tooling.
Last reviewed
Sources
- Brown et al. — Language Models are Few-Shot Learners (in-context learning)
Correction request
If a technology assignment or hub description is inaccurate, submit a correction via the Corrections Policy.
All technologies → · AI Models → · APIs & SDKs → · Integrations → · Compliance → · Browse all companies → · Explore industries → · Compare →