A prompt is the instruction you type into an AI chat or an image generator: a question, a request, a set of directions. How you phrase it matters a lot - the same model can answer with generalities or with exactly what you need.
In short
- A good prompt says who you are, what you need, what for and in what form.
- The model does not know your situation - it guesses everything you leave out.
- The first answer is a draft. Refine it in the conversation instead of starting from scratch.
A new colleague who knows nothing about you
Imagine asking a new colleague at work: "write an email to the client". Which client? About what? Formal or casual? Short or detailed? Your colleague would ask. A language model usually does not ask - it just guesses. And you get a correct but bland email.
That is why the best prompts look like a good task in a project (how to write those is covered in Writing tasks): they have all the context needed and a clearly defined result.
What a good prompt is made of
- Context - who you are and what the situation is: "I run a small online tea shop".
- Task - what exactly should be produced: "Write a reply to a customer whose parcel arrived damaged".
- Details - everything that matters: "We offer either a new parcel or a refund, the customer's choice".
- Format and tone - "Short, 5 sentences at most, polite, no corporate speak".
- An example (optional) - paste an email you liked and add "in this style".
Compare: "write an email to the client" versus the five sentences above. The difference in the result is huge, and the extra writing takes maybe a minute.
Practical tricks
- Ask it to ask you. "Before you answer, ask me the questions you need answered". The model will point out what it is missing.
- Split big tasks. Instead of "write the whole article", first a plan, then section by section.
- Say what you do not want. "No openings like 'Great question!'", "no bullet points".
- Refine in the conversation. "Shorter", "more specific", "rewrite the third paragraph more simply" - the model remembers the earlier version within its context window.
- Give it a source for facts. If the answer has to rest on facts, paste the document. It is the best cure for hallucinations.
Prompts in image generators
In image generators the principle is the same, only you describe a scene: what is in the picture, where, in what light and style. How much it matters shows in the series on Fooocus - simple prompts gave pretty but rather random images, while the style and details in the prompt clearly changed the result.
When it matters to you
- Every time you use an AI chat - a good prompt saves several rounds of corrections.
- When the answer goes somewhere else, e.g. into Word - it is often in Markdown (asterisks, hashes), which you can strip with the AI text cleaner.
- When your prompt contains other people's data - read AI and privacy first.
Related terms
LLM, context window, hallucinations, artificial intelligence.