The AI Prompt Glossary
Essential prompt engineering concepts, model hyperparameters, and generative AI terminology explained in plain English with actionable takeaways.
Prompt
The exact text instruction you give an AI model. A professional prompt acts as a self-contained brief outlining the role, context, goal, dynamic inputs, and exact output schema.
Large Language Model (LLM)
A transformer-based neural network trained on billions of parameters to understand, summarize, and generate human language. Examples include GPT-4o, Claude 3.7, and Gemini 2.0.
Prompt Engineering
Designing and refining instructions, context and examples for an AI task. It can improve usefulness but does not guarantee consistent or accurate output.
System Prompt
A top-level system instruction that establishes the persistent persona, operational boundaries, and formatting rules for the AI before user queries begin.
Context Window
The total token buffer (input prompt + conversation history + output) an AI model can hold in active memory at once (e.g., 200,000+ tokens in Claude and Gemini).
Token
The atomic unit of text that models process — approximately 4 characters or 0.75 words in English. Pricing, context windows, and rate limits are measured in tokens.
Temperature
A sampling setting that affects output variability. Lower values usually reduce randomness, but do not guarantee truth or identical results. Supported ranges vary by model and API.
Top-P (Nucleus Sampling)
An alternative to temperature that limits token selection to the smallest set of candidates whose cumulative probability exceeds P (e.g., top 90% most likely words).
Zero-Shot Prompting
Submitting an instruction directly to an AI model without providing any prior examples, relying solely on pre-trained model knowledge.
Few-Shot Prompting
Including 2 to 5 high-quality input/output demonstration pairs directly within the prompt to guide the AI toward an exact style or complex data format.
Chain-of-Thought (CoT)
An approach involving intermediate reasoning steps before an answer. A written explanation is not proof that the reasoning is correct; verify calculations and code separately.
Role Prompting
Assigning a specific professional persona (e.g., 'Act as an enterprise cloud architect') to calibrate tone, terminology, and level of domain depth.
Parameterised Prompt
A reusable prompt template with bracketed placeholders (e.g., [TARGET AUDIENCE]) designed to be quickly customized with project variables.
Hallucination
When a generative AI confidently generates false facts, non-existent URLs, or invented citations. Reduced by strong constraints and source grounding.
Negative Prompting
Explicitly declaring what the AI must exclude (e.g., 'no buzzwords', or in Midjourney '--no text, watermark, blur') to prevent common quality defects.
XML Tag Structuring
Enclosing instructions, context, and examples in distinct XML tags (e.g. <context>...</context>, <instructions>...</instructions>) to keep prompt sections distinct for models like Claude.
RAG (Retrieval-Augmented Generation)
Retrieving relevant documents or records and providing them as context for generation. Sources can be outdated or incorrect, so retrieval does not itself verify an answer.
Multimodal Model
An AI system capable of processing and generating multiple data types simultaneously, including text, images, code, and audio (e.g. Gemini 2.0, GPT-4o).
Diffusion Model
A deep generative model used in image synthesis (Midjourney, Flux, Stable Diffusion) that creates images by iteratively removing Gaussian noise from a random latent space.
Grounding
Connecting an answer to supplied or retrieved evidence. It can help check claims, but sources and the model's interpretation still need verification.
Prompt Injection
A security vulnerability where untrusted user input contains malicious instructions designed to hijack the model's original system instructions.
Few-Shot Output Schema
Enforcing structured machine-readable formats (JSON, YAML, markdown tables) by demonstrating exact structural syntax in prompt instructions.
Want in-depth prompt engineering tutorials?
Explore our step-by-step guides on prompt architecture, Midjourney formulas, and model comparisons.