Find a course

Prompt Engineering Basics glossary

23 terms you will meet in the free Prompt Engineering Basics course, each explained in one or two sentences.

C

Chain-of-thought prompting
Asking the model to work through intermediate steps before giving a final answer, which often improves multi-step reasoning.
Constraint
A rule the output must follow, such as a word limit, a reading level, a required format or topics to avoid.
Context window
The maximum amount of text, measured in tokens, that a model can consider at once, including your prompt, earlier messages and its own reply.

D

Delimiter
Markers such as triple quotes, XML-style tags or headings that separate instructions from the material the model should work on.

F

Few-shot prompting
Including a few input and output examples in the prompt so the model can copy the pattern.

G

Grounding
Giving the model trusted source material and asking it to base its answer only on that material.

H

Hallucination
A confident-sounding but false or made-up statement produced by an AI model.

L

Large language model (LLM)
An AI system trained on huge amounts of text to predict the next token, which lets it generate and transform language.

O

Output format
The shape you want the answer in, such as a bulleted list, a table, JSON or an email with a subject line.

P

Persona or role prompt
An instruction that tells the model to respond as a particular expert or character, mainly to set focus, vocabulary and tone.
Prompt
The text (and sometimes files or images) you give an AI model to tell it what to do.
Prompt chaining
Splitting a large task into several smaller prompts, where the output of one becomes input to the next.
Prompt injection
An attack in which text inside a document, web page or message tries to override the user's or developer's instructions.
Prompt template
A reusable prompt with placeholders, such as [AUDIENCE] or [TEXT], that you fill in for each new task.

R

Retrieval-augmented generation (RAG)
A setup where relevant documents are automatically found and inserted into the prompt so the model can answer from them.
Rubric
A short list of criteria used to judge whether an output is good, so prompts can be compared fairly.

S

Sycophancy
The tendency of a model to agree with the user or tell them what they seem to want to hear, even when it is wrong.
System prompt
Instructions set at the start of a conversation, often by the app developer, that shape the model's behavior for every later message.

T

Temperature
A setting that controls how random the model's word choices are. Lower values give more predictable output; higher values give more varied output.
Test set
A fixed collection of realistic inputs used to check how well a prompt works before you rely on it.
Token
A chunk of text a model processes, often a word or part of a word. In English, one token averages about four characters.
Training cutoff
The date after which a model has no knowledge from its training data, unless it is connected to search or given new documents.

Z

Zero-shot prompting
Asking a model to do a task with instructions only and no worked examples.

Put these terms to work

The Prompt Engineering Basics course uses every one of these terms in short lessons with instant-feedback questions. It takes about 125 minutes and ends with a free certificate of completion.

Start the course Course overview