Prompt engineering
Expanded definition
Prompt engineering covers system prompts, user templates, few-shot examples, tool instructions, and evaluation of those artifacts. It is not a substitute for retrieval, fine-tuning, or application validation. Production teams version prompts, measure task success, and keep untrusted documents out of the instruction channel. Change prompts with the same discipline as code: test, canary, and roll back.
Related terms
Explore adjacent ideas in the knowledge graph.
Prompt engineering FAQ
What is Prompt engineering?
Prompt engineering is the practice of writing instructions, examples, and output contracts so a model behaves reliably for a task.
How is Prompt engineering used in AI systems?
Prompt engineering covers system prompts, user templates, few-shot examples, tool instructions, and evaluation of those artifacts. It is not a substitute for retrieval, fine-tuning, or application validation. Production teams version prompts, measure task success, and keep untrusted documents out of the instruction channel.
Related
Comparisons, tools, and models that connect to this idea.