Prompting Updated

Prompt and Prompt Engineering

Definition

A prompt is the input you give an AI model to get a response. Prompt engineering is the practice of designing and refining prompts — their wording, context, examples and format — so the model produces more accurate, useful output.

At a glance

Prompt
The instructions, context and data you send a model
Prompt engineering
Writing, testing and refining prompts deliberately
Core ingredients
A clear task, relevant context, examples and an output format
Related controls
System prompt, temperature

A prompt is the instruction and context handed to a model at inference time. Because large models perform in-context learning (Brown et al., 2020), the prompt — not retraining — is the primary way most users steer behaviour. The systematic study of prompting methods is surveyed by Liu et al. (2023).

Effective prompts state the task clearly, supply relevant context or examples, and specify the desired format. Small wording changes can meaningfully shift results — which is exactly why prompt engineering exists.

What is prompt engineering?

Prompt engineering is the skill of writing, testing and iterating on prompts deliberately rather than by trial and error. Instead of changing the model, you change its input: you make the task explicit, give the model the background it needs, show what a good answer looks like, and say how the result should be structured.

It applies to everyday chat as much as to developers building on an API. For applications, prompt engineering also covers the system prompt that sets a model's role and rules, and defending against prompt injection. OpenAI, Anthropic and Google each publish prompting guides for their own models (see the references below).

Prompt engineering techniques that work

The same request, written vaguely and then with each technique applied:

TechniqueVague promptStronger prompt
Be specific"Summarise this.""Summarise this report for a busy CFO in five bullet points, focusing on costs."
Give context"Reply to this email.""Politely decline this meeting and offer Tuesday afternoon instead. Email below: …"
Show an example"Classify these reviews.""Label each review Positive, Negative or Mixed. Example: 'Fast delivery, broken lid' → Mixed."
Ask for reasoning"What's the answer?""Work through it step by step, then give the final answer on its own line."
Set the format"Compare these plans.""Compare the three plans in a table: price, limits, best for."

Adding worked examples is called few-shot prompting; for simple tasks a clear instruction alone (zero-shot) is often enough. Asking for step-by-step reasoning (chain of thought) tends to help on multi-step maths and logic. Whatever you try, review the result and refine the prompt based on what went wrong.

Prompt engineering at MultipleChat

MultipleChat's Prompt Optimizer improves a rough prompt before you send it. Because the same prompt can run on ChatGPT, Claude, Gemini, Grok and Perplexity side by side, you can also see how a wording change shifts each model's answer.

References

Primary, peer-reviewed and archival sources for this definition.

Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing
Liu, P., Yuan, W., Fu, J., Jiang, Z., Hayashi, H., & Neubig, G. (2023). ACM Computing Surveys, 55(9), 1–35.
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., et al. (2020). Advances in Neural Information Processing Systems 33 (NeurIPS 2020).

Dictionary & encyclopedic entries

Cite this entry

MultipleChat. "Prompt and Prompt Engineering." MultipleChat AI & LLM Glossary, October 2026. https://multiple.chat/ai-glossary/prompt

Related terms

See this in practice

Run the same prompt across ChatGPT, Claude, Gemini, Grok and Perplexity side by side — with your own files as context and answers you can cross-check.

Try MultipleChat Free

Continue learning

See paid plans