What is a prompt and how to write good requests to AI

A prompt is the text you give a neural network as a task: a question, an instruction, an image description or an example. The quality of the answer depends heavily on how the prompt is worded.

A clear prompt is like a precise pizza order

In plain words

Imagine ordering pizza by phone. Say "bring me a pizza" and you'll get something random. Say "a large thin-crust margherita without basil by seven pm" and you'll get exactly what you want. A prompt is your order for the AI: the more precise, the better the result.

How it works

  1. The model reads your prompt together with the conversation history.
  2. It tries to understand what answer is expected.
  3. The more context in the prompt - goal, format, limits, examples - the less the model has to guess.
  4. For image generators, the prompt describes the scene, style, lighting and angle.
  5. If the result isn't right, you refine the prompt and try again.

Four parts of a good prompt: role, task, context, format

Where you'll see it

You write prompts in chatbots, image and video generators, AI photo editors on your phone ("remove the people from the background") and voice assistants. Even "Hey Google" followed by a phrase is a kind of prompt.

Does it matter when buying

A lot, if you use AI every day. My simple template: role ("explain like a physics teacher"), task ("what is pressure"), context ("I'm 14 and I don't like formulas"), format ("3 paragraphs and a real-life example"). A request like that gets an answer you can actually use.

Myths

  • Myth: There are "magic" prompts that unlock hidden abilities. Reality: There's no magic. Clarity, context and examples are what work.
  • Myth: The longer the prompt, the better. Reality: What matters is being specific, not length. Extra filler can confuse the model.

FAQ

What is prompt engineering?

The skill of phrasing requests so AI gives high-quality, predictable results.

Should I write prompts in English?

Leading models understand many languages well. For image generators, English sometimes gives more precise results.

What is a system prompt?

Hidden instructions from developers that set the bot's behaviour before your message.

Related terms

Chatbot, Large Language Model, Context window, Generative AI

← Glossary