Case & CodeA FIELD GUIDE TO AI
Start learning
Beginner

Prompt

Also: prompts

In plain words

What you give a model to guide its reply. This may include a question, rules, and source text.

A prompt has three parts
1. Instructions“List every date in this letter. If a date is conditional, say so.”
2. MaterialThe letter itself, pasted or attached.
3. Rules for problems“If you cannot find something, say ‘not found’ instead of guessing.”

Most bad answers come from a missing part: no material, or no rule for what to do when the answer is not there. Behind your prompt sits a hidden one from the app, the system instruction, which sets the ground rules.

The fuller definition

A prompt is input that instructs or guides an AI system, often combining a task, context, examples, and output requirements.

Go deeper

How it fits together
  1. Task

    Extract dates

  2. Context

    Supplied document

  3. Output

    Source-linked table

A simplified relationship, not a screenshot or a complete design.

A concrete example

“Extract candidate dates into a table and cite the supporting passage” is a more checkable prompt than “review this.”

The distinction that matters

A prompt can request behavior but cannot by itself enforce file permissions or guarantee accuracy.

Related terms

Where it is taught

Give AI a brief it can actually follow

Source and further reading

Anthropic · Context engineering

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC