Skip to content

AI basics

What is a prompt?

A prompt is the input given to an AI model: the question, instruction or task together with any context, from which the model generates its answer.

Also: Prompt engineering · Instruction · Input

A prompt is everything a language model reads before it answers: your question, a role, rules, examples and attached content. The clearer the prompt, the better the answer fits. Deliberately crafting prompts is called prompt engineering.

What makes a good prompt

  • Goal: what exactly should come out? An email, a table, three options?
  • Context: who is the result for, which documents apply, what has already happened?
  • Format: length, structure, tone, language.
  • Boundaries: what should the model not do, such as estimate figures or invent sources?
  • Examples: a good sample often saves a long explanation.

System prompt and user prompt

Many applications have two layers. The system prompt defines permanently how the AI behaves, for example the instructions of an AI agent. The user prompt is the specific question in the moment. Both, plus history and attachments, have to fit into the context window.

Example

Weak: “Write something about our new product.”

Better: “Write a LinkedIn post of no more than 120 words about the new feature in the attached data sheet. Audience: IT leads at mid-sized companies. Factual tone, no superlatives, end with a question to readers.”

The second prompt states goal, length, audience, source and tone. The model has less to guess, and the result needs less rework.

Common mistakes

Too many tasks in one prompt, missing documents and unclear expectations about format. For facts, it helps to provide the source rather than rely on what the model happens to know.

Glossary

Related terms

Terms that often come up together.

Next step

From definition to practice.

Search, chat, agents and tasks in one platform. Hosted in Frankfurt, every model processed in the EU.

No per-seat fee · From €399 a month · Cancel monthly