Jargonautica
Building and Using Models

Prompt Engineering

The practice of phrasing your input to get better results. The reliable basics: be specific about what you want, state the format you need, give an example or two, and provide relevant background rather than assuming it is known. Asking a model to work through a problem step by step often produces noticeably better answers on anything requiring reasoning.

Technical view

Established techniques include few-shot prompting, supplying worked examples in the prompt; chain-of-thought prompting, eliciting intermediate reasoning steps before an answer; and structured output constraints. Newer reasoning-focused models do much of this internally and can respond poorly to prompting styles designed for earlier generations. The field moves quickly and specific tricks age fast, while the general principle of clear, specific, well-contextualised instruction does not.


Part of AI Terminology Index, section: Building and Using Models.

How it connects

Prompt Engineering links to 12 other terms. The faint lines are links between those terms. See it in the full graph.

Prompt TemplatePrompt TemplateRole PromptingRole PromptingGolden DatasetGolden DatasetSystem PromptSystem PromptDelimiters and StructureDelimiters and Stru…Meta-promptingMeta-promptingChain of ThoughtChain of ThoughtPromptPromptZero-shot, One-shot and Few-shotZero-shot, One-shot…Structured OutputStructured OutputContext EngineeringContext EngineeringPrompt ChainingPrompt ChainingPrompt Engineering