AI glossary

What is a prompt in AI?

A prompt is the instruction or text you give an AI model so it responds. The clearer the context and the goal, the better the answer tends to be.

It can be a question, a request, a text to summarize or a mix of all of that. To the model, the prompt is the start of the text it has to continue: what it answers comes from there and from what it learned in training.

Many apps also add a system prompt: instructions the user does not see that set the tone, role or rules of the assistant.

Writing good prompts (what is called prompt engineering) means giving context, saying what format you want, showing examples and asking for one clear thing at a time.

An example

"Summarize this" works; "Summarize this email in three bullet points for someone new to the project" works much better.

Related terms

Updated on