Prompt

Also known as: User Prompt

A prompt is the text (token sequence) you give a language model as input before it generates a continuation. In the simplest case it is a short prefix; the model then predicts the next token, then the next, conditioned on that prefix plus whatever it has already produced (next-token prediction).

Chat vs raw

In chat products the prompt is packaged with roles (system prompt, user, assistant) via a chat template. Underneath it is still tokens into a causal model at inference time. Hard prompts are discrete text; soft prompts are learned vectors.

Craft

Prompt engineering shapes those inputs; it does not change trained weights. Generation quality also depends on decoding / sampling settings, not only wording.

← Back to AI Glossary