Glossary

Plain-language definitions with links to the lessons that explain them.

Inference

Using a trained model to produce a prediction or an answer. Inference uses the current parameters rather than training a new model for each request.

Example. An email classifier receives a new message and predicts whether it belongs in spam.

Inference lesson outline →

Context window

The amount of information a model can consider together in a request, measured in tokens. The usable allocation for input and generated output depends on the model and service limits.

Example. When you paste a document into a chat, the instructions and document text compete for space in that window.

Tokens and context lesson outline →

Grounded answer

An answer whose claims can be traced to evidence the system was given. Grounding also requires checking that the evidence supports each claim and applies to the question.

Example. A travel policy answer quotes the passage that sets the reimbursement limit and says when the policy is silent.

Read the retrieval lesson →

Evaluation

A repeatable way to check a system against expectations using representative examples. A useful evaluation defines the task, the evidence, and what counts as a failure before comparing results.

Example. Ask five questions with known answers, then record whether each answer is correct and supported.

Open the evaluation worksheet →

Artificial intelligence

Software that performs tasks associated with human intelligence, such as recognizing patterns, making predictions, or generating language. The label covers several approaches and does not tell you which mechanism a system uses.

Read the teaching lesson →

Machine learning

A method for fitting a model to patterns in data rather than specifying every decision as a rule. Its usefulness depends on how well those patterns carry over to the inputs encountered after training.

Read the teaching lesson →

Deep learning

Machine learning that uses neural networks with multiple layers. Those layers learn intermediate representations that help with tasks such as image recognition and language modeling.

Read the teaching lesson →

Generative AI

Models that produce content such as text, images, audio, or code. A plausible output can still contain an error, so generation and verification are separate steps.

Read the teaching lesson →

Neural network

A model made of connected mathematical operations with adjustable parameters. Training changes those parameters to reduce a chosen loss on examples.

Read the teaching lesson →

Parameter

A value inside a model that training adjusts, such as a neural network weight or bias. More parameters can increase capacity but do not by themselves establish better performance on your task.

Read the teaching lesson →

Large language model

A language model with a large number of parameters, trained on substantial data. Many predict tokens and can generate responses, but that mechanism does not ensure the response is factual.

Read the teaching lesson →

Foundation model

A broadly trained model that can be adapted to multiple downstream tasks. Applications may use it directly, supply additional context, or modify it through further training.

Read the teaching lesson →

Token

A unit that a model tokenizer maps from text or other input into its vocabulary. A token can represent part of a word, a whole word, punctuation, or another unit depending on the tokenizer.

Read the teaching lesson →

Embedding

A vector that represents an item such as a word, passage, or image in a learned space. Similarity in that space can support retrieval, but it does not prove two items are equivalent.

Read the teaching lesson →

Training data

Examples used to adjust a model during training. Their quality, coverage, permissions, and biases influence what the model can learn and how it may fail.

Read the teaching lesson →

Data leakage

Information from an evaluation set or a future outcome reaching the training process or its inputs. It can make measured performance look stronger than performance on genuinely new cases.

Read the teaching lesson →

Pre-training

An initial training stage that learns general patterns from a broad dataset. The resulting model may need further training or application controls before it fits a particular use.

Read the teaching lesson →

Fine-tuning

Additional training that updates an existing model using task-specific or behavior-specific examples. It changes model parameters and therefore differs from putting reference material into a prompt.

Read the teaching lesson →

Reinforcement learning from human feedback

A family of methods that uses human preference feedback to guide model behavior, often through a learned reward model. Preference alignment can improve usefulness without guaranteeing truth or safety.

Read the teaching lesson →

Alignment

Work to make model or system behavior match intended goals, constraints, and human preferences. Its meaning depends on whose goals are used and how success is evaluated.

Read the teaching lesson →

Transformer

A neural network architecture built around attention and related layers for processing sequences. Transformer variants are used in many language and multimodal models.

Read the teaching lesson →

Attention

A mechanism that computes how much information from different input positions contributes to a representation. It helps a model use context but is not the same thing as human attention or an explanation of every decision.

Read the teaching lesson →

Benchmark

A defined collection of tasks and a scoring procedure used to compare systems. A benchmark is useful only to the extent that its cases and measurement reflect the question you need answered.

Read the teaching lesson →

Benchmark saturation

A situation in which strong systems score so highly that a benchmark stops distinguishing them well. Harder or more representative evaluations are then needed.

Read the teaching lesson →

Prompt

The instructions and input presented to a model for a request. Prompt quality matters, but it cannot compensate for missing evidence, unsuitable tools, or an undefined success criterion.

Read the teaching lesson →

System instruction

A higher-priority instruction supplied by an application to establish model behavior. Applications still need permission checks and other controls outside the model.

Read the teaching lesson →

Context engineering

Designing which instructions, history, retrieved material, and tool results a model receives. It also includes managing relevance, ordering, and limits across a workflow.

Read the teaching lesson →

Context budget

The portion of a model context window allocated to instructions, history, evidence, and generated output. The application must balance those competing needs within the model limits.

Read the teaching lesson →

Retrieval-augmented generation

An application pattern that retrieves relevant material and supplies it to a model before generation. It can make current or private evidence available without changing the model weights.

Read the teaching lesson →

Chunking

Dividing source material into units for indexing or retrieval. Chunk size and boundaries affect whether a retrieved passage contains enough context to answer a question.

Read the teaching lesson →

Function calling

A model interface that can produce a structured request to use an application-defined function. The application validates the request and decides whether to execute it.

Read the teaching lesson →

Tool permission

An application control over which operations a tool can perform and which data it can access. A model request should not expand those permissions.

Read the teaching lesson →

AI agent

A system that uses model outputs to select actions over one or more steps toward a goal. Its autonomy is determined by its tools, permissions, stopping rules, and oversight.

Read the teaching lesson →

Stop condition

A rule that ends a workflow after success, failure, a budget limit, or a required handoff. Explicit stop conditions help keep agent work bounded and reviewable.

Read the teaching lesson →

Model API

An interface through which an application sends requests to a hosted or local model service. Reliability, data handling, limits, and version behavior are properties of that service as well as the model.

Read the teaching lesson →

Model weights

Learned parameter values that help determine a model output. Access to weights does not automatically grant an unrestricted license or include the training data.

Read the teaching lesson →

Latency

The elapsed time associated with a request or a processing stage. For generation, time to first output and time to complete the output measure different parts of the experience.

Read the teaching lesson →

Throughput

The amount of work a system completes in a unit of time. It must be interpreted alongside workload, concurrency, latency, and output quality.

Read the teaching lesson →

Hallucination

An output presented as factual that is unsupported or incorrect. A fluent response or a supplied citation does not establish that its claims are grounded.

Read the teaching lesson →

Prompt injection

Untrusted input that attempts to redirect a model or workflow away from its intended instructions. Reducing its impact requires application controls over data, permissions, and consequential actions.

Read the teaching lesson →

Test set

Examples reserved for measuring behavior after development choices have been made. Repeatedly adapting to the same test set can weaken its value as an independent check.

Read the teaching lesson →

Regression test

A repeatable check for behavior that should survive a change to a model, prompt, tool, or application. AI regression checks can evaluate constraints and quality rather than require identical wording.

Read the teaching lesson →

Observability

The ability to understand system behavior from signals such as traces, logs, and metrics. AI applications need to connect those signals to versions, outcomes, cost, and privacy controls.

Read the teaching lesson →

Drift

A change in data, user behavior, or the relationship between inputs and outcomes over time. It can reduce system usefulness even when the deployed software has not changed.

Read the teaching lesson →

Build versus buy

A decision about which system capabilities to implement yourself and which to obtain from a provider. Compare operational responsibility, constraints, evidence, and total cost for the particular use case.

Read the teaching lesson →

Vendor lock-in

The difficulty of moving away from a provider because of technical, contractual, or operational dependencies. Using an API wrapper can help with some dependencies while leaving others intact.

Read the teaching lesson →

AI governance

The responsibilities, policies, and processes used to oversee AI across its lifecycle. Effective governance connects a use case to risk assessment, evidence, controls, and an accountable owner.

Read the teaching lesson →

Risk tiering

Grouping uses according to potential impact so that controls are proportional to the risk. A general internal risk tier is not automatically a legal classification under a particular law.

Read the teaching lesson →

Model routing

Selecting a model or service for a request using defined requirements such as capability, cost, latency, or availability. Routing decisions need evaluation because a cheaper or faster route may change output quality.

Read the teaching lesson →

Human oversight

A defined human role in reviewing, approving, stopping, or correcting an AI process. Oversight works best when the reviewer has enough information and authority to act.

Read the teaching lesson →

Primary references for these definitions include the Google Machine Learning Glossary and the NIST AI Risk Management Framework.