# Prompt (AI)

> The text you give an AI model to tell it what you want.

**Field:** Artificial Intelligence  
**Category:** Working with AI  
**Also known as:** AI Prompt, LLM Prompt

## Think of it like

Think of it like a note you give a helper. The clearer the note, the better the help.

## Definition

A prompt is the text you give an AI model to tell it what you want. It can be a question, an order, or a long brief with examples and files. The model reads the prompt and writes what most likely comes next. So the words you choose change the answer you get. A good prompt says the task, gives the facts the model needs and says what the answer should look like.

## Example

Jack wants a thank-you note for his neighbour, who fed his cat. Everything he types to ask for it, the task, the facts and the length, is the prompt.

## Example code

```text
Write a short thank-you note to my neighbour, Ana.
She fed my cat for a week while I was away.
Keep it warm and under 50 words.
```

A prompt with a task, the facts the model needs and a limit on length.

## Why it matters

The prompt is the main way you steer a model. A clearer prompt often fixes a bad answer faster than a new tool.

## Common mistake

Leaving out facts the model cannot guess. Who is the reader? How long should the answer be?

## Three principles

- **Say the task.** What you want done.
- **Give the facts.** What the model cannot guess.
- **Show the shape.** Length, format, tone.

## Related terms

- [Prompt Engineering](https://learn.benibix.com/term/ai/prompt-engineering)
- [System Prompt](https://learn.benibix.com/term/ai/system-prompt)
- [Large Language Model (LLM)](https://learn.benibix.com/term/ai/large-language-model)
- [Context Window](https://learn.benibix.com/term/ai/context-window)

## Taught in

- [The LLM Context Window](https://learn.benibix.com/learn/ai-llms/llm-context-window): LLMs, 4/15
- [Prompt Engineering Basics](https://learn.benibix.com/learn/ai-working-with-ai/prompt-engineering-basics): Prompt Engineering, 1/16
- [Claude Code and Its Surfaces](https://learn.benibix.com/learn/ai-claude-code/claude-code-and-its-surfaces): Claude Code, 1/16
- [Slash Commands and the CLI](https://learn.benibix.com/learn/ai-claude-code-commands/slash-commands-and-the-cli): Claude Code Commands, 1/17
- [ChatGPT, Claude and Gemini](https://learn.benibix.com/learn/ai-ai-tools/chatgpt-claude-and-gemini): AI Apps and Tools, 1/10
- [AI Jobs and Roles](https://learn.benibix.com/learn/business-careers/ai-jobs-and-roles): Tech Careers, 8/8

![A prompt drawn as one block made of four parts: the task, the facts, a few examples and the question. An arrow leads to the model and then to the answer.](https://learn.benibix.com/diagrams/pr-prompt-parts.svg)

---

Source: https://learn.benibix.com/term/ai/prompt
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
