Skip to content
Eldan.ai
Glossary

Prompt

A prompt is everything you send to a model in one request: instructions, examples, the conversation so far, retrieved documents and the user's input.

The model produces its reply from this text alone. Because outputs depend entirely on the prompt, it deserves the same version control and testing as code.

A prompt is usually assembled from parts: a fixed instruction, some examples, dynamic context and the current question. Small wording changes can move quality noticeably, in both directions, and you cannot see the effect without measuring it.

Common mistake. Editing a prompt in a dashboard with no history and no test. Nobody can say later which version caused a regression.

In practice. Keep prompts in your repository, give them version identifiers, log the version with every request and run the eval suite before you merge a change.

Where this is taught

  • System prompt

    A system prompt is the developer-written part of a prompt that sets the model's role, rules and output format for the whole conversation. Models give it extra weight, but it is guidance, not enforcement. A determined user or a hostile document can still talk the model out of following it.

  • Structured output

    Structured output means getting a model to return data in a fixed shape, usually JSON that matches a schema, instead of free prose. Some providers can constrain generation to a schema. In every case you should still validate the result in code, because a valid shape does not mean correct values.

Cite this page

Eldan Abdrashim. "Prompt." Eldan.ai, 23 November 2026. https://eldan.ai/glossary/prompt.

The date you read it is added when you copy.

BibTeX

@online{abdrashim2026prompt,
  author = {Eldan Abdrashim},
  title = {Prompt},
  organization = {Eldan.ai},
  date = {2026-11-23},
  year = {2026},
  month = nov,
  url = {https://eldan.ai/glossary/prompt},
  langid = {english}
}

All terms

Section: Models and context. Last updated 23 Nov 2026.