internalsGet Pro

AI Engineering · Workspace

Glossary

673 terms, A to Z. Each term links to the lesson that teaches it.

0–9 1

β (beta) in DPO, taught in Preference tuning: RLHF and DPO in plain terms
The DPO setting that limits drift from the reference model. A higher β means a smaller change already satisfies each pair, so the tuned model stays closer to where it started.

A 42

A/B test, taught in Online evaluation: A/B tests and user feedback
An experiment that sends a random share of live traffic to each of two versions and compares an outcome between them.
Acceleration limit, taught in Provider rate limits, queues and fallbacks
A provider limit on how fast an organization’s usage may rise, which can return 429 errors after a sharp jump even while usage is below the per-minute limits.
Access catalog, taught in Mock interview: an agent for internal tools
A list of every resource people can request access to, with its owner, risk level, who is eligible and how long access may last, stored as data that code can check.
Active parameters, taught in Mixture of experts: large models that run fast
The parameters a mixture-of-experts model uses for one token: the shared parts plus the experts the router picked. It decides the work per token.
Adapter (LoRA), taught in LoRA: fine-tuning with small add-on weights
The small set of trained LoRA matrices for one task, saved as its own file and applied on top of the base model it was trained with.
Adaptive thinking, taught in Reasoning effort: paying for extra thinking
A mode in which the model decides on each request whether to think before answering and for how long. The effort setting steers it, but no level guarantees a thinking block.
Admin API key, taught in Token economics: caching, batch and effort together
A Claude API credential for managing an organization and reading its usage and cost reports. Ordinary workspace API keys can’t call these endpoints.
Agent Card, taught in Agent2Agent protocol: agents calling other agents
A JSON document an A2A server publishes to describe its agent: name, provider, version, skills, endpoint and the security schemes callers must use. Usually served at /.well-known/agent-card.json.
Agent framework, taught in Agent frameworks: when to use one
A library that runs an AI agent’s loop for you and adds parts long or complex agents need, such as saved state, pause and resume, streaming, tracing and approval steps.
Agent loop, taught in Agents: models that act until a goal is met
The code around an AI agent that calls the model, runs the tools it asks for, adds the results to the conversation and repeats until a stop condition.
Agent middleware, taught in Lab: rebuilding your agent with LangGraph
In LangChain’s create_agent, a plug-in that runs code before or after model and tool calls, for example to cap the number of model calls, turn tool errors into results or pause for a person’s approval.
Agent2Agent protocol (A2A), taught in Agent2Agent protocol: agents calling other agents
An open protocol for one AI agent to ask another, often run by a different organisation, to do a task, follow its progress and receive its results, without either sharing its internal state or tools.
Agentic retrieval, taught in Advanced retrieval: multi-step, graph and agentic
Retrieval where search is offered to the model as a tool, so the model decides whether, where and how often to search before it answers.
Agentic system, taught in Workflows vs agents: when you need autonomy
Any system that combines model calls and tools to do a task, whether code or the model decides the steps. Workflows and AI agents are both agentic systems.
AI agent, taught in Agents: models that act until a goal is met
Software in which a model, given tools and a goal, picks each next step from what the last one returned, in a loop that runs until the goal is met or a limit is reached.
AI application stack, taught in The AI application stack: from model to product
The three layers an AI product sits on: the application layer on top, the model layer in the middle and the infrastructure layer at the bottom.
AI engineering, taught in Introduction to AI engineering
Building products on top of pretrained models, usually by calling them through an API, including the prompts, checks and product code around each call.
AI gateway, taught in Case: Instacart’s batch platform for LLM jobs
An internal service that every model call passes through, giving one interface to several model providers and recording usage and cost per caller.
AI notice, taught in Design: a safe customer-facing assistant
A fixed message that tells a person they are talking to an AI system, what it can and can’t do, and how to reach a human. It is written by people and sent by code, never generated by the model.
Allowed scope (in retrieval), taught in Mock interview: a RAG assistant
The set of documents a person may read, worked out on the server from who they are, such as their country and role. A question can narrow the search inside it but never widen it.
Alpha (LoRA), taught in LoRA: fine-tuning with small add-on weights
A scale for LoRA’s learned change: the change is multiplied by alpha ÷ rank. Changing it acts much like changing the learning rate.
Anchoring, taught in Human review and labeling
The pull a number or answer you have just seen has on your own judgement, even when you are told it may be wrong.
API version (Claude API), taught in Sampling and temperature: controlling randomness
A date sent in the anthropic-version header of every Claude API request. It fixes which request fields and behaviours the API accepts, so a change to the API only reaches code that moves to the new version.
Appeal path, taught in Content moderation: filtering harmful output
A quick way for a person to overturn an automated verdict, whose corrections are also collected to measure and improve the check.
Application layer, taught in The AI application stack: from model to product
The top layer of the AI application stack: everything that turns a model into a product feature, such as the UI, the prompt, output checks, evals and monitoring.
Approval gate, taught in Human in the loop: approvals and handoffs
A point in an AI feature where the software stops and waits for a person to approve or decline an action before anything with a consequence happens, such as a refund, a replacement or a message to a customer.
Approval request, taught in Human in the loop: approvals and handoffs
What a person sees when software asks to take an action: the action and its cost, the evidence from the tools with links, the checks code ran, and what approving or declining will do.
Artifact (A2A), taught in Agent2Agent protocol: agents calling other agents
An output an A2A task produces, made of one or more parts, separate from the messages exchanged along the way.
Attack campaign, taught in Red-teaming an AI application
An automated red-team run in which an attacker model works through an attack library against the real application and a judge scores each conversation.
Attack library, taught in Red-teaming an AI application
A team’s stored collection of attack ideas (seeds), each pairing a goal with a technique and saying what success looks like, used by people and by automated campaigns.
Attack mutation, taught in Red-teaming an AI application
Making variants of an attack seed by changing its wording, language, encoding or number of turns, so a campaign tests the neighbours of a known attack.
Attack set, taught in Prompt injection: when input becomes instructions
A group of attack inputs kept in the eval suite, each labelled with the harm it tries to cause, run against every release.
Attack success rate, taught in Prompt injection: when input becomes instructions
The share of attack runs in which the attack achieved its goal. Measured over several runs per attack, because model output varies.
Attention, taught in Attention: how the model decides what to focus on
The step inside a language model that lets each token look at earlier tokens, weight them by relevance and mix in what they carry, so its meaning reflects its context.
Attention head, taught in Attention: how the model decides what to focus on
One of several attention steps that run side by side in a layer, each computing its own weights, so different heads can track different relations between tokens.
Attention weight, taught in Attention: how the model decides what to focus on
The share of one token’s attention given to another token. A token’s weights over the tokens it can see add up to 100%, and they are computed fresh for every input.
Audit log, taught in Case: Swiggy’s text-to-SQL analyst agent
A record of who did what and when, kept so actions can be checked later. For an AI feature: the user, the input, what the model produced and what ran.
Augmented LLM, taught in Workflows vs agents: when you need autonomy
One model call that can use retrieval, tools and memory. It is the building block of both workflows and AI agents.
Automation bias, taught in Human in the loop: approvals and handoffs
The habit of trusting an automated suggestion instead of checking it, which grows when the system is usually right and the reviewer is busy with other work.
Autonomy ladder, taught in Design: an AI customer support platform
A fixed set of levels that says which AI outputs may run with no person and which need a person to send or approve them, ordered by what a mistake can do.
Autoregressive generation, taught in Next-token prediction: how an LLM writes text
Writing text one token at a time, where each new token is chosen from a prediction based on all the tokens before it, including the ones the model has just written.
Axial coding, taught in Error analysis: finding what to fix first
Grouping open-coding notes that share a cause into a short list of named categories, then counting each.

B 21

Back-channel, taught in Voice agents: real-time spoken conversation
A short sound or word a listener makes to show they are following, such as “mm-hm” or “right”, which is not a request to take the turn.
Backtest, taught in Case: Intercom’s custom reranker for support RAG
Replaying past production traffic through a new version and scoring its output against what is known about those cases, before any live user sees it.
Barge-in, taught in Voice agents: real-time spoken conversation
The caller speaking over a voice assistant; the assistant stops its audio, cancels the reply and listens.
Base model, taught in Training stages: pretraining, tuning and feedback
A language model straight out of pretraining. It knows a lot of language and facts but continues text instead of following instructions.
Base rate, taught in Input and output guardrails
How common a problem is in real traffic, before any check runs.
Base64 encoding, taught in Multimodal inputs: images, PDFs and audio
A way to write binary data, such as an image, as plain text characters, which makes it about a third larger.
Baseline, taught in Evals: testing systems that never answer the same way
The scores of the current version on an eval set, saved so that every change can be compared with them.
Batch (training), taught in Fine-tuning basics: what changes in the model
The small group of training examples whose loss is averaged before one update of the model’s weights.
Batch processing (model APIs), taught in Batch and background processing for LLM jobs
Sending many model requests as one job that the provider runs when it has capacity, returning results later at a lower price.
Batch transcription, taught in Speech to text and text to speech
Transcribing a whole recording after it is complete, in one request, so the model hears all of it before writing.
Bi-encoder, taught in Reranking: putting the best passages first
A model that turns the query and each document into separate vectors, so document vectors can be made ahead of time and compared with the query vector by a similarity score.
Billable unit, taught in Charging for AI features: metering and quotas per customer
The thing a usage price is attached to, such as one AI draft shown or one chat conversation. A good one is something the customer can see and count, with a cost behind it the seller can bound.
Binary quantization, taught in Vector indexes: HNSW, IVF and quantization
Keeping only one bit for each number of a vector: whether it is above zero. Vectors become 32 times smaller than 32-bit floats and are compared by counting differing bits, with a large loss of recall unless results are rescored.
Binomial floor, taught in Monitoring quality in production
The smallest spread a rate measured over n outputs can have from chance alone: √(p × (1 − p) ÷ n). Small slices can’t be steadier than this, whatever their history shows.
Blameless post-mortem, taught in Incident response for AI features
An incident review that looks for the conditions that let a failure happen, assuming everyone acted well on what they knew, instead of looking for someone to blame.
Blast radius, taught in Least privilege for agents and tools
Everything a component could damage if it misbehaved or were controlled by an attacker: what its tools and credentials allow, with any input, as often as its limits allow.
Break-even volume, taught in Hosted and open-weight models: the tradeoffs
The amount of work at which a fixed-cost option and a pay-per-use option cost the same: the fixed cost divided by the per-use price.
Browser deadline, taught in AI user experience: waiting, uncertainty and corrections
A time limit the screen keeps for itself while it waits for a server, so a dropped connection or a dead worker ends in a plain message instead of a spinner that never stops.
Browser use tool, taught in Computer use: models operating browsers and apps
A Claude toolset for tasks inside web pages: your app runs the browser, and the model reads pages through their structure and text as well as screenshots.
Business metric, taught in Case: Swiggy’s text-to-SQL analyst agent
A number a company tracks, with a definition specific to that company, such as which orders count and which columns it is computed from.

C 58

Cache breakpoint, taught in KV cache and prompt caching: reusing earlier work
A mark on a block of a prompt, set with cache_control on the Claude API, that ends the prefix the provider stores and looks up for prompt caching.
Cache pre-warming, taught in Design: scaling a chat assistant to a million users
Sending a request ahead of real traffic so the provider writes a prompt prefix to its cache; on the Claude API, a request with max_tokens set to 0 writes the cache and generates no output.
Cache read, taught in KV cache and prompt caching: reusing earlier work
Input tokens a provider takes from a stored prompt prefix instead of processing them again, billed at a fraction of the normal input price and reported as cache_read_input_tokens on the Claude API.
Cache write, taught in KV cache and prompt caching: reusing earlier work
Input tokens a provider processes and stores as a prompt prefix for later requests, billed above the normal input price and reported as cache_creation_input_tokens on the Claude API.
Calibration, taught in Evaluating a fine-tuned model
How well a model’s stated confidence matches how often it is right: of the answers it gives with 90% confidence, a calibrated model gets about 90% right.
CaMeL, taught in Indirect prompt injection through documents and tools
A defence design from a 2025 research paper in which a planner model writes a program from the trusted request, a quarantined model parses untrusted data, and an interpreter tracks each value’s source and checks policies before every tool call.
Canary document, taught in Access control in RAG: who may see what
A planted test document holding a unique made-up phrase, used to detect when restricted content reaches someone it shouldn’t.
Canary token, taught in Data leakage: protecting secrets and personal data
A unique made-up string planted in one place only, so that finding it anywhere else proves that place leaked.
Cassette (recorded HTTP), taught in Testing code that calls a model: fakes and recordings
A file in which a record-and-replay tool such as vcrpy stores each HTTP request and the response that came back, so later test runs can replay them without the network.
Catastrophic forgetting, taught in Fine-tuning basics: what changes in the model
When training on a narrow task makes a model worse at things it could do before.
Causal mask, taught in Under the hood: queries, keys and values
The rule in a text-writing model that each token may attend only to itself and earlier tokens. Scores for later tokens are set to minus infinity before softmax, so they get weight 0.
Cell (deployment), taught in Design: an enterprise document Q&A product like Glean
A complete, independent copy of a system’s data plane, such as its database, indexes, queues and workers, serving a fixed set of customers, often in one region.
Chain-of-thought prompting, taught in Step-by-step prompting: asking for the reasoning
Prompting a model to write out the steps of a problem before its final answer, with worked examples or an instruction such as “Let’s think step by step”. It helped older models on multi-step problems; current models that think before answering need it less.
Chat template, taught in Fine-tuning basics: what changes in the model
The fixed text format, with special tokens, that an open model uses to mark each user and assistant turn; training data and served prompts must both use it.
Checkpoint (AI agent), taught in Agent frameworks: when to use one
A saved copy of an AI agent run’s state, written after a step, so the run can stop and later resume from there, even in another process.
Chunk, taught in Chunking: splitting documents for retrieval
A piece of a longer document, cut out so it can be embedded, searched and sent to a model on its own.
Chunk overlap, taught in Chunking: splitting documents for retrieval
Text repeated at the end of one fixed-size chunk and the start of the next, so a short passage near a cut appears whole in at least one chunk.
Chunking, taught in Chunking: splitting documents for retrieval
Splitting a document into passages small enough to search and send to a model. Each passage gets its own embedding in the index.
Citation (in an AI answer), taught in Citations: showing where each answer came from
A link from one claim in a model’s answer to the passage in a source document that supports it: which document, the exact quoted text and where it sits.
Citation precision, taught in Design: an AI search engine like Perplexity
Of all the citations shown in answers, the share whose cited passage supports the sentence it is attached to.
Client tool, taught in Function calling: letting models use tools
A tool that runs in your own application: the model returns a tool_use block, your code runs it and sends back a tool_result.
Code execution tool, taught in Code execution: running model-written code safely
A provider-run tool that lets a model write code and have it run in an isolated container during the same API request, with the output returned to the model.
Code-based check, taught in Code-based checks: exact match, rules and schemas
A check on a model’s output written as ordinary code, such as a comparison, a pattern or a rule, so it runs in microseconds and costs nothing.
Cohen’s kappa, taught in Judge calibration: checking LLM judges against people
An agreement score between two graders that removes the agreement expected by chance: (observed − chance) ÷ (1 − chance). 1 is perfect; 0 is no better than chance.
Community detection, taught in Advanced retrieval: multi-step, graph and agentic
An algorithm that finds groups of nodes in a graph that are linked more to each other than to the rest, often in nested levels.
Community summary, taught in Advanced retrieval: multi-step, graph and agentic
A model-written summary of one community in a knowledge graph, made at index time so global questions can read summaries instead of source documents.
Compaction (context), taught in Agent memory: short-term context, long-term stores
Replacing the older turns of a conversation with a summary written by the model, so a long run stays within the context window. It costs an extra model call and can lose exact details.
Complete mediation, taught in Least privilege for agents and tools
Checking authorization on every access, in the system that performs it, rather than trusting an earlier check or the caller’s judgement.
Completion-only loss, taught in Preparing data for fine-tuning
Training that scores only the tokens of the answer, not the prompt, so the model learns to produce answers rather than to reproduce inputs.
Compounding errors, taught in Workflows vs agents: when you need autonomy
The way small chances of failure multiply over many steps: if each of n steps succeeds with probability p, the whole task succeeds with about pⁿ.
Computer use, taught in Computer use: models operating browsers and apps
A tool-use loop in which your app runs a machine, sends the model screenshots of it, and performs the mouse and keyboard actions the model asks for.
Confidence interval, taught in Building an eval set from real examples
A range around a measured value that would contain the true value in a stated share of repeated samples, usually 95%.
Confidence threshold, taught in Evaluating a fine-tuned model
The confidence below which a model’s answer isn’t used and the input goes to a fallback, such as a larger model or a person.
Confusion matrix, taught in Judge calibration: checking LLM judges against people
A table that counts how often two sets of labels agree and disagree, one row per label from one source and one column per label from the other.
Constitutional AI, taught in Training stages: pretraining, tuning and feedback
A training method from Anthropic in which an AI judge, following a written list of principles, gives the feedback on harmful outputs instead of human labels. It uses self-critique and revision, then reinforcement learning from AI feedback.
Constrained decoding, taught in Structured outputs: getting reliable JSON
Generating text while removing, at each step, every token that would break a set of rules such as a grammar, so the output always follows the rules.
Container, taught in Code execution: running model-written code safely
An isolated environment on a Linux machine with its own files, processes and resource limits. Ordinary containers share the host’s kernel.
Container image, taught in Deploying an AI service: containers and the cloud
A packaged file system snapshot holding an app’s code, libraries and runtime, from which identical containers are started.
Contamination (experiments), taught in Online evaluation: A/B tests and user feedback
When one group in an experiment influences the other, so the measured difference between versions is wrong, usually too small.
Content block, taught in Calling a model API: request, response and cost
One typed item in a model response’s content list, such as thinking, text or a tool request.
Content hash, taught in Keeping a RAG index fresh: updates and deletes
A short fixed-length value computed from content, such as a SHA-256 digest, that changes whenever the content changes, used to detect what needs reprocessing.
Content moderation, taught in Content moderation: filtering harmful output
Checking text or images against a written policy and acting on what breaks it, for example by blurring a message, routing it to a manager or holding back a reply.
Context editing, taught in Agent memory: short-term context, long-term stores
A Claude API beta feature that clears content, such as old tool results or old thinking, from a request by rule before the model sees it. Your code keeps the full history.
Context engineering, taught in Context engineering: choosing what the model sees
Choosing, on every model call, what goes into the request: system prompt, tool definitions, retrieved text, tool results and history.
Context rot, taught in Context windows: what fits and what gets lost
The drop in how accurately a model finds and uses information as the amount of text in its context grows.
Context window, taught in Context windows: what fits and what gets lost
The most tokens a model can handle in one call, counting the input and the output it writes.
Contextual retrieval, taught in Contextual retrieval: giving each chunk its context
A retrieval technique described by Anthropic: before indexing, a model reads the whole document and writes a short context for each chunk, which is prepended to the chunk for both the embedding and the keyword index.
Continuous batching, taught in Self-hosting open models: when and how
Batching in which requests join and leave the running batch at every model step, instead of the whole batch starting and finishing together.
Continuous integration (CI), taught in Testing code that calls a model: fakes and recordings
Automated checks, such as tests and type checks, that run on every push to a shared code repository, so a change that breaks something is caught before it ships.
Contrastive learning, taught in Multimodal embeddings: searching images and text
A way to train an embedding model by showing it matching pairs and many non-matching ones, and adjusting it so matching pairs score higher than the rest. CLIP trains on batches of image and caption pairs this way.
Control limit, taught in Monitoring quality in production
An alert line set k standard deviations from a metric’s normal mean, so normal variation rarely crosses it. With k = 3, a normally distributed value crosses one side by chance about 0.135% of the time.
Conversation history, taught in Lab: a command-line chat with streaming
The list of earlier user and assistant turns that an app sends with every call, because the model API remembers nothing between calls.
Conversion rate, taught in Design: a shopping assistant like Amazon’s
The share of visitors who complete a goal, such as placing an order, within a set time.
Cost meter, taught in Cost control: budgets, quotas and alerts
Code that prices every model call from the usage in its response, as soon as it returns, and records the cost with labels such as feature, customer and prompt version.
Cost reconciliation, taught in Cost control: budgets, quotas and alerts
Comparing your own record of what model calls cost with the provider’s report for the same period, to find wrong prices and calls that skipped your meter.
Criteria drift, taught in Human review and labeling
The way people’s grading criteria change as they grade real outputs: they need criteria to grade, but grading is how they discover what the criteria should be.
Cross-encoder, taught in Reranking: putting the best passages first
A model that reads a query and one document together as a single input and outputs one relevance score, which is more accurate than comparing separate vectors but needs a full model run for every pair.
Custom id (batch request), taught in Batch and background processing for LLM jobs
The id you give each request in a Message Batch, 1 to 64 letters, digits, hyphens or underscores, unique in that batch. Results come back in any order, so it is the only way to match a result to its request.

D 35

Daily spend cap, taught in Design: a safe customer-facing assistant
A limit, enforced in your own code, on how much a feature may spend on model calls in one day for one customer or in total. When it is reached, the feature falls back to a cheaper path instead of calling the model.
Dark pattern, taught in Design: a shopping assistant like Amazon’s
A design that misleads or pressures users into choices they did not intend, such as an advertisement disguised as an ordinary result.
Data exfiltration, taught in MCP security: servers, tokens and tool poisoning
Moving data out of a system to a place the owner didn’t intend. In AI apps, a steered model can do it by passing data as an argument to a tool that sends it elsewhere.
Data fiduciary, taught in AI regulation: EU AI Act, DPDP and content labels
Under India’s DPDP Act, the organisation that decides why and how personal data is processed. It is responsible for the processing, including what its processors do.
Data principal, taught in AI regulation: EU AI Act, DPDP and content labels
Under India’s DPDP Act, the person the personal data is about. For a child, it includes the parent or lawful guardian.
Data processor (DPDP), taught in AI regulation: EU AI Act, DPDP and content labels
Under India’s DPDP Act, an organisation that processes personal data on behalf of a data fiduciary, under a contract.
Data warehouse, taught in Case: Swiggy’s text-to-SQL analyst agent
A database built for large analytical queries over a company's history, kept apart from the databases the product runs on.
Datamarking, taught in Indirect prompt injection through documents and tools
A spotlighting technique that interleaves a special character through untrusted text, usually in place of every space, so the model can tell that text apart from instructions.
Daylight saving time, taught in Design: a meeting booking assistant
Moving a region’s clocks forward in summer and back in winter, on dates its own rules set, so the gap between two time zones can change during the year.
Decided case, taught in Human review and labeling
A borderline example that labellers disagreed on, added to the labelling guidelines with the agreed answer and the reason, so later labellers handle the same kind of case the same way.
Decode phase, taught in KV cache and prompt caching: reusing earlier work
The phase of a model request after prefill, in which the model writes one output token per step, each step running one new token and reading the KV cache.
Decoding, taught in Under the hood: how decoding picks each token
The rule that picks one token from the model’s probability list at each step, for example always the most likely token or a draw weighted by probability.
Degradation ladder, taught in Design: scaling a chat assistant to a million users
An ordered list of lighter ways a feature can answer when capacity runs short, each freeing a known share of a limit, from the full answer down to a fallback that uses no model at all.
Denial of wallet, taught in Design: a safe customer-facing assistant
An attack that runs up a pay-per-use bill, such as model API costs, by sending large volumes of requests, instead of trying to take the service down.
Dense model, taught in Mixture of experts: large models that run fast
A model that uses all of its parameters for every token, as opposed to a mixture-of-experts model.
Deployer, taught in AI regulation: EU AI Act, DPDP and content labels
In the EU AI Act, a business or body that uses an AI system under its authority, deciding what it is used for and how. Personal, non-professional use doesn’t count.
Design effect, taught in Online evaluation: A/B tests and user feedback
How many times more samples a test needs when it assigns groups, such as whole shops, instead of single items, because items in a group are alike: 1 + (items per group − 1) × how alike they are.
Deskora Chat, taught in Design: a safe customer-facing assistant
Deskora’s customer-facing chat widget on a shop’s website. It answers from the shop’s help center and reads order status, and hands refunds, replacements, discounts, account changes and angry or unclear cases to a support agent.
Deskora Voice, taught in Voice agents: real-time spoken conversation
Deskora’s phone assistant: it answers a shop’s phone line with the same limits as Deskora Chat, help-center answers and verified order status, and hands everything else to a person.
Development split, taught in Building an eval set from real examples
The part of an eval set the team runs and reads freely while improving a prompt or model.
Diff, taught in Design: a coding assistant like GitHub Copilot
The list of lines a change removes and adds in each file, the form in which code changes are reviewed and applied.
Direct prompt injection, taught in Prompt injection: when input becomes instructions
Prompt injection where the attacker writes the input the feature is built to read, such as a customer’s own email or chat message.
Distillation temperature, taught in Distillation: training a small model from a large one
A number that divides the teacher’s logits before the softmax, so its probabilities spread onto wrong answers and the student can learn from them. The student is trained at the same temperature and then runs at 1.
Document block, taught in Citations: showing where each answer came from
A content block in a Claude API request that holds one whole source document, such as plain text or a PDF, with an optional title and context. With citations enabled, the model can cite sentences from it.
Document ingestion, taught in Document ingestion: parsing PDFs, pages and tables
The pipeline that turns uploaded files and web pages into clean text records a search index can use: fetch, extract, clean, check and attach metadata, then chunk and embed.
Document metadata, taught in Document ingestion: parsing PDFs, pages and tables
Facts stored with a document’s text about where it came from: owner, source, title, updated date and checksum. Search filters, citations and freshness checks depend on it.
Domain allowlist, taught in Computer use: models operating browsers and apps
A network rule that lets a machine reach only the listed hosts and blocks every other address.
Dot product, taught in Under the hood: queries, keys and values
Multiply two lists of numbers position by position and add the results. It is large when the two vectors point the same way, so attention uses it to score how well a key fits a query.
DPDP Act, taught in AI regulation: EU AI Act, DPDP and content labels
India’s Digital Personal Data Protection Act, 2023: the law on how digital personal data may be collected, used, kept and protected, carried out by the DPDP Rules, 2025.
DPO (Direct Preference Optimization), taught in Preference tuning: RLHF and DPO in plain terms
A preference tuning method that learns straight from preference pairs with a classification loss, without a separate reward model or reinforcement learning. It raises chosen answers relative to rejected ones, measured against a reference model.
Draft job, taught in Design: a support assistant over company docs
A queued background task that writes an AI draft reply for one ticket after the customer’s messages go quiet, so the draft is ready before an agent opens the ticket.
Draft status line, taught in AI user experience: waiting, uncertainty and corrections
One line at the top of an AI draft, worked out by code from the draft’s checks, that names the most serious problem and the next step for the person, instead of a confidence score.
DTMF (keypad tones), taught in Voice agents: real-time spoken conversation
The tones a phone sends for each key pressed; telephony systems decode them into exact digits.
Dual LLM pattern, taught in Indirect prompt injection through documents and tools
A design with two models: a privileged one that plans and calls tools but never sees untrusted text, and a quarantined one that reads untrusted text but has no tools.
Durable execution, taught in Case: Instacart’s batch platform for LLM jobs
Running a long job so that each finished step is recorded, and after a crash the job resumes from the last recorded step instead of starting over.

E 34

Edit size, taught in Online evaluation: A/B tests and user feedback
How much a person changed an AI draft before sending it, from 0 (sent as is) to 1 (no word kept), computed by comparing the draft with the sent text.
Edit type, taught in User feedback loops: learning from real usage
A category for what a person changed in an AI output before using it, such as a fact fixed, a policy corrected, a tone changed or a length cut.
Effective-dated version, taught in Mock interview: a RAG assistant
A version of a document stored with the dates it is in force, so a query can pick the version that applies on a given day without anyone switching it by hand.
Elicitation (MCP), taught in Model Context Protocol: one standard for tools
An MCP client feature that lets a server ask the user for input, such as a confirmation or a form, through the host’s own interface.
Embedding benchmark, taught in Embedding models: choosing and comparing them
A public set of tasks and datasets used to score and rank embedding models, such as MTEB. Its average covers many tasks, so it can shortlist models but not pick one for your own data.
Embedding dimension, taught in Embeddings: turning words into numbers with meaning
How many numbers an embedding model returns for each text. More numbers leave room for more kinds of difference in meaning, but take more storage.
Embedding model, taught in Embeddings: turning words into numbers with meaning
A model that reads text and returns an embedding instead of writing text. It is called through its own API, separate from a text-generating model API.
End state (agent eval), taught in Evaluating agents: task success and trajectories
What an AI agent’s run leaves behind in its environment, such as rows written and the run’s status, checked against the state a correct run would leave.
End-of-sequence token, taught in Next-token prediction: how an LLM writes text
A special token that marks the end of a model’s output. When the model picks it, generation stops.
Entailment model, taught in Design: an AI search engine like Perplexity
A model trained to say whether one text supports, contradicts or says nothing about another, often used to check that a generated sentence follows from its source.
Enum, taught in Structured outputs: getting reliable JSON
A fixed list of the only values a field may take.
Enumeration attack, taught in Design: a safe customer-facing assistant
Trying identifiers one after another, such as sequential order numbers or a list of emails, to find which ones exist or to read the data behind them.
Environment (of an AI agent), taught in Agents: models that act until a goal is met
The systems outside the model that an AI agent’s tools read from or act on, and that answer with facts the model didn’t write.
Environment variable, taught in Lab: a command-line chat with streaming
A named value the shell passes to every program it starts, often used to keep secrets such as API keys out of code.
Error analysis, taught in Error analysis: finding what to fix first
Reading a system’s failures, describing and grouping them into categories, and counting each, to decide what to fix first.
Escalation check, taught in Model routing: small models first, large when needed
The test in a model cascade that decides whether the cheaper model’s answer is kept or sent to a larger model. It runs on every request, so its own cost is part of every task.
Escalation rate, taught in Model routing: small models first, large when needed
The share of requests a router or cascade sends to the more capable model. It sets most of the routed cost and is the first sign that a check or a router has changed.
EU AI Act, taught in AI regulation: EU AI Act, DPDP and content labels
The EU law (Regulation (EU) 2024/1689) that sets rules for AI systems by level of risk: banned uses, high-risk uses with strict requirements, transparency duties, and minimal-risk uses with no extra rules.
Euclidean distance, taught in Similarity measures: cosine, dot product, distance
The straight-line distance between the tips of two vectors: subtract matching numbers, square the results, add them and take the square root. Smaller means closer.
Eval, taught in Evals: testing systems that never answer the same way
A repeatable test that runs an AI feature on many realistic inputs and scores each output, to measure how often it is good enough.
Eval harness, taught in Lab: an eval harness for a support assistant
The code that runs an AI feature on every case in an eval set, saves each output, grades it with checks and judges, and reports the scores.
Eval set, taught in Evals: testing systems that never answer the same way
The saved inputs an eval runs on, each one a case, sometimes with notes on what a good output must do. The same set is reused for every run so scores can be compared.
Evaluator-optimizer, taught in Workflows vs agents: when you need autonomy
A workflow pattern in which one model call writes, another grades the result against clear criteria, and the feedback goes back for a revision, up to a set number of rounds.
Exact match, taught in Code-based checks: exact match, rules and schemas
An eval check that passes only when the output equals the expected value character for character.
Excessive agency, taught in Least privilege for agents and tools
A risk where an AI feature has more tools, permissions or freedom to act than its task needs, so a wrong or manipulated output can cause real damage.
Exclusion constraint, taught in Design: a meeting booking assistant
A PostgreSQL constraint that rejects a row if any existing row matches it under the operators you choose, such as equal specialist and overlapping time.
Expert (mixture of experts), taught in Mixture of experts: large models that run fast
One of the several feed-forward blocks in a mixture-of-experts layer. It runs only for the tokens the router sends to it.
EXPLAIN ANALYZE, taught in pgvector: vector search inside PostgreSQL
A PostgreSQL command that runs a query and prints the plan it used, with the real row counts and timings of each step. Plain EXPLAIN shows the plan without running the query.
Explicit feedback, taught in Online evaluation: A/B tests and user feedback
A judgement a person chooses to give, such as a thumbs up or down or a rating. Clear, but rare and given mostly when something is wrong.
Extension (PostgreSQL), taught in pgvector: vector search inside PostgreSQL
A package of new types, functions, operators or index methods that you load into a PostgreSQL database with CREATE EXTENSION.
Extraction, taught in Lab: turning messy emails into clean records
Pulling specific fields, such as a name, an order number or a category, out of free text into a fixed record a program can use.

F 22

Factuality hallucination, taught in Hallucinations: why models state false things
A hallucination that is false about the world, such as an invented policy, date or library function, usually filled in from patterns the model learned in training.
Fail-to-pass test, taught in Design: a coding assistant like GitHub Copilot
A test that fails on the code before a change and passes after it, used to check that a proposed change really fixes the problem.
Failure category, taught in Error analysis: finding what to fix first
A named group of failures with the same cause, specific enough to point at the part of the system to change.
Faithfulness hallucination, taught in Hallucinations: why models state false things
A hallucination that the text given to the model does not support or contradicts, such as a summary claim that no message makes.
Fallback model, taught in Provider rate limits, queues and fallbacks
A second model, tested on the eval set in advance, that a feature switches to when its main model is unavailable or misbehaving.
False fail rate, taught in Judge calibration: checking LLM judges against people
Of the outputs people passed, the share an automatic grader failed. It measures how often good outputs are flagged for nothing.
False negative, taught in Code-based checks: exact match, rules and schemas
A check result that says pass, or not found, for a case that should have failed.
False pass rate, taught in Judge calibration: checking LLM judges against people
Of the outputs people failed, the share an automatic grader passed. It measures how many bad outputs the grader lets through.
False-positive rate, taught in Input and output guardrails
Of the items that are fine, the share a check wrongly flags.
Fast mode, taught in Where the time goes in an LLM request
A request setting, speed: "fast", that runs a supported Claude model with a faster inference configuration for more output tokens per second, at a higher price. It does not shorten the time to first token.
Fault injection, taught in Evaluating agents: task success and trajectories
Making a dependency fail on purpose during a test, such as a timeout or an error, to check how the system behaves when it does.
Feed-forward block, taught in Transformers: the architecture in one picture
The step in each transformer layer that works on each token’s row alone: it widens the row, applies a simple non-linear rule and narrows it back. It holds about two thirds of a standard layer’s parameters.
Feedback loop (AI products), taught in User feedback loops: learning from real usage
The process that captures how people use and correct an AI feature’s output, counts what it shows, and turns it into changes to prompts, code, data or evals.
Few-shot prompting, taught in Few-shot prompting: teaching by example
Putting a few worked examples of input and the wanted output in the prompt, so the model copies their pattern.
Field validator, taught in Validating model output with Pydantic
A function run on one field’s value during validation, which returns the value, possibly cleaned, or rejects it with an error.
Files API, taught in Multimodal inputs: images, PDFs and audio
A provider service where you upload a file once and then refer to it by an id in later model requests, instead of sending its bytes each time.
Fine-tuning, taught in Prompting, RAG or fine-tuning: choosing the right fix
Training an existing model further on your own examples, which changes its weights. It teaches habits, formats and narrow skills well, and new facts poorly.
Free/busy query, taught in Design: a meeting booking assistant
A calendar API request that returns only the time ranges when each calendar is busy, without the events’ details.
Freshness class, taught in Design: an AI search engine like Perplexity
A label for how quickly the answer to a question goes out of date, used to decide how new the sources must be and how long a cached answer may live.
Full fine-tuning, taught in Fine-tuning basics: what changes in the model
Fine-tuning that updates every weight of a model. Training keeps a gradient and optimizer state for each weight, about 16 bytes per weight.

G 17

General-purpose AI model, taught in AI regulation: EU AI Act, DPDP and content labels
In the EU AI Act, a model that can do many different tasks and that other companies build into their own AI systems. Its maker has separate duties from the companies that build on it.
Geocoding, taught in Lab: give a model a weather and maps tool
Turning a place name or address into map coordinates: a latitude and a longitude.
Ghost text, taught in Design: a writing assistant like Notion AI
Suggested text shown in grey after the cursor that the person can accept with one key or ignore by typing something else.
Global question, taught in Advanced retrieval: multi-step, graph and agentic
A question about a whole collection, such as its main themes or most common complaints, which no small set of retrieved passages can answer.
Golden dataset, taught in Building an eval set from real examples
An eval set the team writes by hand, with the inputs it expects and an ideal answer for each.
GPU, taught in The AI application stack: from model to product
A chip built to do many simple calculations at once. Language models are trained and run on large numbers of them.
Graceful shutdown, taught in Deploying an AI service: containers and the cloud
Stopping a process so it takes no new work and finishes or hands back what it holds before it exits.
Grader, taught in Evals: testing systems that never answer the same way
The part of an eval that scores one output on one criterion: a piece of code, a model acting as judge, or a person.
Gradient, taught in Fine-tuning basics: what changes in the model
For each weight, how much the loss would change if that weight grew a little; training moves each weight against its gradient.
Graph state, taught in Lab: rebuilding your agent with LangGraph
The shared data a LangGraph graph passes between its nodes. Each node reads it and returns updates, and each field has a rule for merging updates, such as appending to a messages list.
Greedy decoding, taught in Under the hood: how decoding picks each token
A decoding rule that always writes the most likely next token; the same scores always give the same output, but long outputs can repeat themselves.
Gross margin, taught in Charging for AI features: metering and quotas per customer
The price of what was sold minus the direct cost of delivering it, often given as a share of the price.
Ground truth set, taught in Case: how Shopify evaluates its merchant agent
An eval set sampled from real production traffic, in the same mix, with labels from people who know the product.
Grounded answer, taught in Evaluating RAG: retrieval and answer quality
An answer in which every claim is supported by a source the model was given. Grounding is checked against what the model saw, so a grounded answer can still be wrong if the needed source was never sent.
GRPO (Group Relative Policy Optimization), taught in Preference tuning: RLHF and DPO in plain terms
A reinforcement learning method that samples several outputs for the same input and rewards each by how it scores compared with the rest of that group.
Guardrail, taught in Input and output guardrails
A check that runs on a model’s input or output and blocks, changes or flags it when it breaks a rule, such as leaking personal data or stating something unsafe.
Guardrail metric, taught in Online evaluation: A/B tests and user feedback
A metric that must not get worse during an experiment, with a stop rule written in advance, whatever the main metric does.

H 18

halfvec, taught in Choosing a vector store for your workload
pgvector’s half-precision vector type: each number takes 2 bytes instead of 4, halving storage for a small loss in precision.
Hallucination, taught in Hallucinations: why models state false things
Output that states something false or unsupported as if it were true, often fluently, because the model writes likely text rather than looking facts up.
Hand-back, taught in Agent reliability: loops, limits and budgets
Ending an AI agent run by giving the task to a person, with the reason it stopped and what it found, instead of an answer.
Hand-off (to a person), taught in Design: a safe customer-facing assistant
Ending an automated conversation by passing it to a human, with the conversation and the reason attached, so the customer doesn’t repeat themselves.
Hard gate, taught in Regression testing for prompts and models
An eval check that blocks a release on any failure at all, rather than comparing a score with the previous version.
Hard label, taught in Distillation: training a small model from a large one
A training label that gives only the answer, with no information about how close the other answers were.
Hard limit, taught in Charging for AI features: metering and quotas per customer
A usage level at which a feature stops until the period ends or the limit is raised.
Haversine formula, taught in Lab: give a model a weather and maps tool
A formula for the shortest distance between two points on a sphere from their latitudes and longitudes: the straight-line distance over the Earth’s surface, not the road distance.
Held version, taught in Incident response for AI features
A prompt or model version whose stored outputs are hidden from users during an incident, so outputs made before a rollback can't be shown or sent.
Held-out split, taught in Building an eval set from real examples
The part of an eval set kept unread and used only to decide a release, so the score isn’t inflated by tuning on it.
Help-center version, taught in Caching for LLM apps: exact, semantic and prompt
A per-shop number in Deskora that goes up whenever the shop’s searchable articles change, put in cache keys so every reply made from older articles is no longer looked up.
Hidden goal, taught in Simulated users: testing agents before launch
What a simulated user wants by the end of a conversation, given only to the simulator, so the AI agent has to find it out by asking, as it would with a real person.
Hosted agent, taught in Agent frameworks: when to use one
An AI agent whose loop, state and tool sandbox run on a provider’s infrastructure; your app starts sessions, sends messages and answers its custom tool calls.
HTTP status code, taught in Model API errors, rate limits and retries
A three-digit number at the start of every HTTP response that says how the request went: 2xx succeeded, 4xx means the request was wrong, 5xx means the server failed.
Human in the loop, taught in Human in the loop: approvals and handoffs
A design where software proposes an action and a person approves, edits or rejects it before it takes effect.
Human interrupt, taught in Agent frameworks: when to use one
A planned pause in an AI agent’s run that waits for a person to approve, edit or reject the next action before it continues.
HyDE (hypothetical document embeddings), taught in Query rewriting: improving what gets searched
A retrieval method in which a model writes a made-up answer to the query, and search uses that answer’s embedding instead of the query’s.

I 20

IANA time zone, taught in Design: a meeting booking assistant
A named region in the IANA time zone database, such as Europe/Lisbon, that records every past and planned change to that region’s clocks.
Idle timeout, taught in Deploying an AI service: containers and the cloud
How long a connection may go without any data sent or received before a load balancer or proxy closes it.
Image orientation metadata, taught in Vision models: understanding images and screenshots
A flag stored inside a photo file (in its EXIF data) that tells viewers how to rotate the stored pixels for display. Software that ignores it shows the photo sideways or upside down.
Implicit feedback, taught in Online evaluation: A/B tests and user feedback
Signals about quality taken from what people do, not what they say, such as edits, time spent or a ticket being reopened.
Index reconciliation, taught in Keeping a RAG index fresh: updates and deletes
A scheduled check that compares a derived index with its source data and repairs differences that change events missed, such as stale or orphaned entries.
Indirect prompt injection, taught in Indirect prompt injection through documents and tools
Instructions hidden in content the model reads while working, such as a tool result, document or web page, written to make it act against the app’s rules.
Inference, taught in The AI application stack: from model to product
Running a trained model on an input to produce its output, as opposed to training the model.
Inference provider, taught in Hosted and open-weight models: the tradeoffs
A company that runs open-weight models on its own GPUs and sells access to them through a per-token API.
Inference server, taught in Self-hosting open models: when and how
A program that loads a model’s weights onto one or more GPUs and answers model requests over HTTP, running many of them at once. vLLM and SGLang are open-source examples.
Infrastructure layer, taught in The AI application stack: from model to product
The bottom layer of the AI application stack: the data centres, GPUs and serving software that run a model and answer calls to it.
Ingestion, taught in Document ingestion: parsing PDFs, pages and tables
The offline job in a retrieval system that turns source documents into indexed chunks: parsing, splitting, optional enrichment, embedding and storing.
Input classifier, taught in Prompt injection: when input becomes instructions
A separate, cheap model call (or other classifier) that labels an input before the main model call, for example as containing instructions aimed at an AI.
Input drift, taught in Monitoring quality in production
A change over time in what a feature receives, such as new ticket types, languages or document formats. It often comes before a drop in output quality.
Instruction tuning, taught in Training stages: pretraining, tuning and feedback
Training a pretrained model further on example conversations, each a request and a good answer, so it learns to answer requests. Also called supervised fine-tuning.
Interim result, taught in Speech to text and text to speech
A preliminary transcript sent during streaming transcription, which may change as more audio arrives. A final result replaces it.
Interleaved thinking, taught in ReAct: reasoning, acting and observing in turns
Thinking that a model does between tool calls, after reading each tool result and before deciding its next step. On Claude models with adaptive thinking it happens automatically.
Interview loop, taught in AI engineering interviews: what companies test
The full set of interview rounds a company runs for one role, from the first technical screen to the final decision.
ITPM (input tokens per minute), taught in Caching for LLM apps: exact, semantic and prompt
A provider rate limit on how many input tokens one organization may send to a model each minute. On most current Claude models, tokens read from the prompt cache don’t count toward it.
IVF index, taught in Vector indexes: HNSW, IVF and quantization
An inverted file index for vectors. It groups stored vectors around centre points found by k-means, and a search compares the query only with the vectors in the few lists whose centres are nearest.
IVFFlat, taught in pgvector: vector search inside PostgreSQL
An approximate vector index that groups vectors into lists around centre points learned from the data, then searches only the lists nearest the query. It must be built after the data is loaded.

J 6

Jaccard similarity, taught in Preparing data for fine-tuning
How much two sets overlap: the number of items they share divided by the number of items in either. 1 means identical, 0 means nothing in common.
Jailbreak, taught in Prompt injection: when input becomes instructions
An input written to make a model break its provider’s safety rules, rather than the application’s own rules.
JSON Lines, taught in Building an eval set from real examples
A text file format with one complete JSON object on each line, easy to append to, stream and compare line by line.
JSON Schema, taught in Structured outputs: getting reliable JSON
A JSON document that describes the shape of other JSON: which keys it must have and what type and values each may take.
JSON Web Signature (JWS), taught in Agent2Agent protocol: agents calling other agents
A standard format for a digital signature over JSON content, so a reader can check who signed it and that it hasn’t changed.
JSON-RPC, taught in Model Context Protocol: one standard for tools
A small protocol for calling a remote method with JSON: a request has a method, params and an id, and the reply carries the same id with a result or an error.

K 9

k-means, taught in Vector indexes: HNSW, IVF and quantization
A method that splits a set of vectors into k groups. It repeatedly assigns each vector to its nearest centre, then moves each centre to the average of its group.
Kendall tau, taught in Case: Intercom’s custom reranker for support RAG
A measure of how closely two orderings of the same items agree, from −1 (exactly reversed) to 1 (identical), based on how many pairs they put in the same order.
Keyterm prompting, taught in Speech to text and text to speech
Giving a speech-to-text model a short list of words or phrases to expect, so it transcribes rare names and numbers correctly.
Kill switch, taught in Design: a safe customer-facing assistant
A flag that turns a feature off at once in production, by hand or automatically when a metric crosses a threshold, without a deploy.
Knowledge cutoff, taught in Training stages: pretraining, tuning and feedback
The date after which a model’s training text has little or nothing, so the model doesn’t know about later events. Providers list it per model.
Knowledge distillation, taught in Distillation: training a small model from a large one
Training a small, fast model (the student) to reproduce the judgments of a large, slow one (the teacher), so the large model runs only when making training data.
Knowledge graph, taught in Advanced retrieval: multi-step, graph and agentic
Facts stored as entities (nodes) and labelled relationships between them, so connected facts can be found by following links.
KV cache, taught in KV cache and prompt caching: reusing earlier work
Memory where a model keeps the attention results of tokens it has already processed, so each new token it writes doesn’t recompute them.

L 23

Labelled set, taught in Building an eval set from real examples
A small set of real past cases, each with the correct outcome a person confirmed, used to compare two versions of a feature.
Labelled set (retrieval), taught in Embedding models: choosing and comparing them
A list of real queries, each with the items a person marked as the right results, used to score and compare search methods.
Labeller agreement, taught in Human review and labeling
How often different people give the same label to the same item, measured on items that several people label without seeing each other’s answers.
Labelling guidelines, taught in Human review and labeling
A short written definition of each grading criterion, with examples that pass, examples that fail and decided borderline cases, so different people label the same output the same way.
LangGraph, taught in Lab: rebuilding your agent with LangGraph
An open-source Python library from LangChain that runs an AI agent or workflow as a graph: nodes are functions, edges choose the next node, and a shared state is saved after every step so a run can pause and resume.
Language model, taught in Next-token prediction: how an LLM writes text
A program trained on very large amounts of text that writes text and can follow instructions written in plain language.
Late-arriving data, taught in Design: a data analysis agent
Records about a period that keep arriving after the period ends, so the period’s numbers change for a while before they are final.
Learning curve, taught in Preparing data for fine-tuning
A model’s test score plotted against the number of training examples. Where the curve flattens, more data of the same kind stops helping.
Learning rate, taught in Fine-tuning basics: what changes in the model
The setting that controls how far each weight moves in one training step.
Lethal trifecta, taught in Least privilege for agents and tools
Simon Willison’s name for an AI agent that has access to private data, reads untrusted content and can send data out; together they let injected text steal data.
Live coding round, taught in Live coding with model APIs
An interview round where you write and run working code while an interviewer watches and asks questions, usually in about an hour.
Liveness check, taught in Deploying an AI service: containers and the cloud
A health check whose failure makes the platform restart the container, used to detect a stuck process.
LLM judge (LLM-as-judge), taught in LLM-as-judge: grading outputs with a model
A model call that grades another model’s output against written criteria, given the input, the sources and the output, and returns a structured verdict.
Load test, taught in Design: scaling a chat assistant to a million users
Running generated traffic against a system at and above its expected peak to measure latency, errors and limits before real users arrive.
Log-Mel spectrogram, taught in Speech to text and text to speech
A grid that describes audio as the loudness in each of many frequency bands, measured every few milliseconds, with bands spaced the way human hearing is. Speech models read this grid instead of raw audio.
Logit, taught in Under the hood: how decoding picks each token
The raw score a language model gives each token in its vocabulary at one step; it can be any number, and a higher score means a more likely token.
Long-context prompting, taught in Long context or RAG: when to send the whole document
Sending a whole document set to the model in every request, instead of searching it first and sending only the relevant parts.
Long-prompt pricing, taught in Model upgrades: switching without regressions
Higher per-token prices that some models charge when a request’s prompt is longer than a threshold. The whole request is billed at the higher rate.
Long-term memory (AI agents), taught in Agent memory: short-term context, long-term stores
Facts kept in a store outside the model that outlive a run, written by your code and read back into the prompt of a later run.
Loop detection, taught in Agent reliability: loops, limits and budgets
Code that spots an AI agent repeating itself, such as the same tool with the same input or several turns with no new result, and ends the run early.
LoRA (low-rank adaptation), taught in LoRA: fine-tuning with small add-on weights
A fine-tuning method that trains small add-on weight matrices while the model’s own weights stay frozen.
Loss (training), taught in Fine-tuning basics: what changes in the model
One number that measures how far a model’s predictions are from the wanted outputs; training changes the weights to make it smaller.
Luhn check, taught in Lab: an eval harness for a support assistant
A simple checksum over a number’s digits that every valid payment card number passes, used to tell a card number from other long digit runs.

M 49

Machine-readable marking, taught in AI regulation: EU AI Act, DPDP and content labels
A sign attached to AI-generated content that software can find without a person, such as metadata, a watermark, a provenance signature or a log, so the content can be detected as AI-made.
Macro-F1, taught in Synthetic data: generating training examples
A classifier score that computes F1 (the balance of precision and recall) for each category separately, then averages them, so rare categories count as much as common ones.
Map-reduce, taught in Long inputs: splitting work across many calls
A way to process a large input in two steps: run the same small job on each piece independently (map), then combine the partial results into one answer (reduce).
McNemar’s test, taught in Regression testing for prompts and models
A statistical test for paired pass or fail results that looks only at the cases that changed, asking how likely their split would be by chance.
MCP client, taught in Model Context Protocol: one standard for tools
The part of an MCP host that talks to exactly one MCP server, sending its requests and reading its replies.
MCP connector (Claude API), taught in Model Context Protocol: one standard for tools
A Claude API beta feature where the API itself connects to a remote MCP server named in the request and runs its tools.
MCP host, taught in Model Context Protocol: one standard for tools
The AI app the user works in. It holds the conversation, calls the model, asks the user for consent and starts one MCP client per server.
MCP Inspector, taught in Building an MCP server in Python
A browser tool for connecting to an MCP server by hand: list its tools, call them with your own arguments and read the raw results.
MCP prompt, taught in Model Context Protocol: one standard for tools
A reusable prompt template an MCP server offers, which the user picks from a menu in their app and fills with arguments.
MCP resource, taught in Model Context Protocol: one standard for tools
Data an MCP server makes readable by URI, such as a file or an article. The app, not the model, usually decides when to attach it.
MCP server, taught in Model Context Protocol: one standard for tools
A program that offers tools, resources or prompts to AI apps through the Model Context Protocol, locally over stdio or remotely over HTTP.
MCP tool, taught in Model Context Protocol: one standard for tools
A function an MCP server offers, with a name, a description and an input schema. The model decides when to call it.
MCP transport, taught in Model Context Protocol: one standard for tools
The way MCP messages travel between client and server. The specification defines stdio and Streamable HTTP.
Mean average precision (MAP), taught in Case: Intercom’s custom reranker for support RAG
A ranking measure: for each query, average the precision at each position where a relevant item appears, then average over queries. Higher when every relevant item sits near the top.
Mean reciprocal rank (MRR), taught in Evaluating RAG: retrieval and answer quality
For each query, 1 divided by the position of the first relevant result (0 if none is found), averaged over all queries. It rewards finding one relevant result early and ignores the rest.
Memory bandwidth, taught in Quantization: running models in less memory
How many bytes a chip can read from its memory each second. When a model writes one token at a time for one request, it usually limits the speed.
Memory tool, taught in Agent memory: short-term context, long-term stores
An Anthropic-provided tool that lets Claude view, create, edit, rename and delete files under /memories. It runs on the client: your code carries out each command on storage you control.
Metadata filter, taught in Filtering vector search by metadata
A condition on the fields stored with each vector, such as a customer id, status or date, that every result of a vector search must meet.
Mid-conversation system message, taught in Context engineering: choosing what the model sees
A message with role system added inside the messages list, so an app can give new instructions partway through without changing the cached start of the request.
Middleware (MCP server), taught in Building an MCP server in Python
A function the server runs around every incoming request, before and after the handler, for work every call needs such as logging.
MinHash, taught in Preparing data for fine-tuning
A way to estimate Jaccard similarity quickly: each set is reduced to a short list of minimum hash values, and similar sets tend to share many of them. Grouping these values into bands finds likely near duplicates without comparing every pair.
Mixed precision
Training that does most of its arithmetic in a 16-bit number format (fp16 or bf16) to run faster, while keeping the values that need accuracy in 32-bit. bf16 needs a recent GPU, such as NVIDIA Ampere or newer; older GPUs such as the T4 use fp16.
Mixture of experts (MoE), taught in Mixture of experts: large models that run fast
A model design where each layer has several feed-forward blocks, called experts, and a router sends each token to only a few of them. Only part of the model runs for each token.
ML engineering, taught in Introduction to AI engineering
Training, deploying and running machine learning models for a specific task, usually on a company’s own data.
MockTransport, taught in Testing code that calls a model: fakes and recordings
An httpx2 transport that passes each request to a function you write and returns that function’s response, so a client makes no network calls.
Model adapter, taught in Agent frameworks: when to use one
Code in a framework that turns the framework’s generic model calls into one provider’s API requests, and sets its own defaults while doing so.
Model alias, taught in Prompt and model versioning in production
A short model name that points to another, fixed model id and can be moved to a newer one. On the Claude API, models before the 4.6 generation have aliases that point to their most recent dated snapshot; newer dateless ids are snapshots themselves.
Model API, taught in Calling a model API: request, response and cost
An HTTP service that runs a language model on the input you send and returns its output, billed per token.
Model cascade, taught in Model routing: small models first, large when needed
A way of routing in which a cheaper model answers first, a check tests the answer, and only answers that fail the check are redone by a more capable model.
Model collapse, taught in Synthetic data: generating training examples
The gradual loss of the real data distribution when models are trained on output from earlier models, round after round. Rare cases disappear first.
Model Context Protocol (MCP), taught in Model Context Protocol: one standard for tools
An open protocol that lets an AI app connect to servers offering tools, data and prompt templates, so one server works in every app that supports it.
Model deprecation, taught in Model upgrades: switching without regressions
The stage before retirement: the model still works, but the provider names a replacement and a retirement date.
Model fallback, taught in Provider rate limits, queues and fallbacks
Sending a task to a second model or provider when the main one is rate-limited, failing or down, usually with its own prompt version, tested before it is needed.
Model layer, taught in The AI application stack: from model to product
The middle layer of the AI application stack: the trained model itself, which the application reaches through a model API.
Model retirement, taught in Model upgrades: switching without regressions
When a provider stops serving a model. After the retirement date, requests that name it fail, so applications must move to a replacement first.
Model routing, taught in Model routing: small models first, large when needed
Sending each request to one of several models by a rule, so easy requests go to a cheap model and hard ones to a more capable one.
Model snapshot, taught in Training stages: pretraining, tuning and feedback
One fixed version of a model behind a model id. Behaviour under the id doesn’t change; a new version gets a new id.
Model turn, taught in Parallel and sequential tool calls
One call to the model, from sending the request until its reply ends. In a tool loop, every reply that asks for tools is one turn, and the next turn starts after your code sends the results back.
Model validator, taught in Validating model output with Pydantic
A function run on the whole object after its fields pass, used for rules that involve more than one field.
Model weights, taught in Hosted and open-weight models: the tradeoffs
The numbers a model learned in training. The model file is mostly these numbers, and running the model means computing with them.
Multi round-trip request (MCP), taught in Model Context Protocol: one standard for tools
The MCP pattern where a server that needs more input returns a result asking for it, and the client retries the original request with the answer and any state the server returned.
Multi-adapter serving, taught in LoRA: fine-tuning with small add-on weights
Serving several LoRA adapters on one copy of the base model, with each request naming the adapter it needs, so requests for different tasks can share a batch.
Multi-agent system, taught in Multi-agent systems: orchestrators and subagents
A design that splits one task across several AI agents, each with its own context, usually an orchestrator that hands out parts and subagents that do them.
Multi-hop question, taught in Advanced retrieval: multi-step, graph and agentic
A question whose answer joins facts from several documents, where finding one fact needs a word or value from another.
Multi-query retrieval, taught in Query rewriting: improving what gets searched
Writing several wordings of the same question, searching with each, and merging the result lists into one.
Multi-step retrieval, taught in Advanced retrieval: multi-step, graph and agentic
Retrieval that searches, has a model read the results and write the next search, and repeats until a stop rule ends the loop.
Multi-turn escalation, taught in Red-teaming an AI application
An attack spread over several messages, each harmless on its own, that moves the model step by step toward breaking a rule.
Multimodal embedding, taught in Multimodal embeddings: searching images and text
An embedding model that turns more than one kind of input, such as photos and text, into vectors in one shared space, so a photo can be compared directly with another photo or with a sentence.
Multimodal input, taught in Multimodal inputs: images, PDFs and audio
A model request that mixes text with other kinds of input, such as images, PDF pages or audio.

N 13

Named entity recognition (NER), taught in Data leakage: protecting secrets and personal data
A model that labels words in text as people, places, organizations or other kinds of names, using the surrounding words as context.
Namespace (vector store), taught in Access control in RAG: who may see what
A separately stored partition of a vector index; every read and write names exactly one, so data in one can’t be returned by a query on another.
Near duplicate, taught in Preparing data for fine-tuning
A piece of text that shares almost all its wording with another, such as the same template with a different name or number. In training data it adds weight without adding information.
Next-token prediction, taught in Next-token prediction: how an LLM writes text
What a language model does at each step of writing: given all the tokens so far, it gives every possible next token a probability, so one can be picked.
NF4 (4-bit NormalFloat), taught in LoRA: fine-tuning with small add-on weights
A 4-bit number format introduced with QLoRA, designed for model weights that follow a normal distribution.
Noisy neighbour, taught in Design: an AI customer support platform
A tenant whose heavy use of a shared resource slows or breaks the service for other tenants on the same system.
Non-deterministic output, taught in Introduction to AI engineering
Output that can differ between calls even when the input is identical.
Normalised match, taught in Code-based checks: exact match, rules and schemas
An eval check that cleans both values in ways that can’t change their meaning, such as spaces and letter case, and then compares them.
Normalised question, taught in Caching for LLM apps: exact, semantic and prompt
A user’s question after changes that can’t alter its meaning, such as letter case, extra spaces and trailing punctuation, used as part of a cache key.
NOT IN SOURCES note, taught in RAG: grounding answers in your own documents
A line a grounded draft adds for the person reviewing it, naming a question the retrieved documents don't answer, instead of guessing an answer for the customer.
Novelty effect, taught in Online evaluation: A/B tests and user feedback
A change that looks better at first because it is new, with the effect fading as people get used to it.
Nullable field, taught in Structured outputs: getting reliable JSON
A field whose value may be null, meaning “no value”, as well as its normal type.

O 18

OAuth scope, taught in MCP security: servers, tokens and tool poisoning
A named permission inside an access token, such as read tickets or write notes. A server checks the scope before each action and refuses actions the token’s scopes don’t allow.
Observation, taught in Agents: models that act until a goal is met
What an AI agent sees after an action: the tool result or error added to the conversation before the next model call.
OCR (optical character recognition), taught in Document ingestion: parsing PDFs, pages and tables
Software that reads the text in an image of a page and returns it as characters. It is needed for scans and photos, which have no text layer.
OCR confidence, taught in Document AI: extracting data from scans and forms
A score an OCR engine gives each word it reads, from its own recognizer. It is useful for flagging doubtful words, but it is not a probability of being right until you check it against labelled pages.
Online evaluation, taught in Online evaluation: A/B tests and user feedback
Measuring a version of an AI feature by what happens in production: what users do with its output and what follows, rather than scores on a fixed test set.
Open coding, taught in Error analysis: finding what to fix first
Writing a short free-text note on each failure, about the first thing that went wrong, before deciding on any categories.
Open-weight model, taught in Hosted and open-weight models: the tradeoffs
A model whose trained weights are published, so a team can run it on servers it controls instead of calling a provider’s API.
OpenTelemetry, taught in Tracing LLM calls: seeing every step
An open standard, with libraries for most languages, for producing traces, metrics and logs and sending them to any backend that accepts its protocol.
Operator class, taught in pgvector: vector search inside PostgreSQL
The part of an index definition that tells PostgreSQL which operators the index can serve. An index is used only for queries that use one of those operators.
Orchestrator (AI agents), taught in Multi-agent systems: orchestrators and subagents
The AI agent in a multi-agent system that plans the work, writes a task for each subagent and merges what they report.
Orchestrator-workers, taught in Workflows vs agents: when you need autonomy
A workflow pattern in which one model call splits a task into subtasks it chooses, worker calls handle each, and a final call merges the results.
Order verification, taught in Design: a safe customer-facing assistant
Checking, in code, that the person asking about an order is its buyer, for example by matching the order number with the email on the order, before showing any of its details.
Orphan chunk, taught in Keeping a RAG index fresh: updates and deletes
A chunk still stored in a search index after the text it came from was edited away or deleted from the source document.
OTLP, taught in Tracing LLM calls: seeing every step
The OpenTelemetry Protocol: the format and transport, over HTTP or gRPC, that sends spans, metrics and logs from a program to a collector or backend.
Output speed, taught in Estimating the cost and latency of a feature
How many output tokens a model produces per second once it has started writing. Writing time is output tokens divided by output speed, and thinking tokens count.
Over-fetching, taught in Filtering vector search by metadata
Asking a search for more candidates than you need, so enough remain after filtering or deduplication.
Over-refusal, taught in Refusals and fallbacks: when the model declines
A model or safety classifier declining a request that was harmless: a false positive of the safety check.
Overfitting, taught in Fine-tuning basics: what changes in the model
When a model learns quirks of its training examples that don’t carry over to new ones: training loss keeps falling while validation loss rises.

P 65

PagedAttention, taught in Self-hosting open models: when and how
vLLM’s way of storing the KV cache in small fixed-size blocks, so each request uses only the memory its tokens fill and more requests fit on one GPU.
Paired comparison, taught in Building an eval set from real examples
Comparing two versions on the same examples and looking only at the examples where their results differ.
Pairwise comparison, taught in LLM-as-judge: grading outputs with a model
Grading by showing a judge two outputs for the same input and asking which is better, or whether they tie.
Pairwise ranking loss, taught in Case: Intercom’s custom reranker for support RAG
A training loss that looks at two items at a time and penalises the model when it scores the item that should rank lower above the one that should rank higher. RankNet is a common form.
Parallel tool use, taught in Parallel and sequential tool calls
A model asking for several tool calls in one reply. Your code can run them at the same time and returns all their results in one message.
Parallelization (workflow pattern), taught in Workflows vs agents: when you need autonomy
A workflow pattern that runs independent model calls at the same time and merges their results in code, either by splitting the task into parts or by asking the same question several times and voting.
Parameter (model), taught in Transformers: the architecture in one picture
One learned number in a model’s weights. A model’s size is usually given as its parameter count.
Parameter-efficient fine-tuning, taught in LoRA: fine-tuning with small add-on weights
Fine-tuning that freezes a model’s original weights and trains a small set of added ones, so it needs far less GPU memory.
Parent-document retrieval, taught in Chunking: splitting documents for retrieval
Searching over small chunks, then sending the larger document each matching chunk came from, so the model sees the text around the match.
Parquet, taught in Case: Instacart’s batch platform for LLM jobs
An open file format that stores a table column by column, compressed, so large data sets take less space and a program can read only the parts it needs.
Part (A2A), taught in Agent2Agent protocol: agents calling other agents
One piece of content in an A2A message or artifact: exactly one of text, raw bytes, a URL or structured data, with an optional media type and file name.
Pass rate, taught in Code-based checks: exact match, rules and schemas
The share of eval cases on which one check passes, reported per check so a single failing rule isn’t hidden in an average.
pass@k, taught in Evaluating agents: task success and trajectories
The chance that at least one of k runs of a task succeeds, averaged over tasks. It rises as k grows.
pass^k, taught in Evaluating agents: task success and trajectories
The chance that all k runs of a task succeed, averaged over tasks; a measure of how consistently an AI agent gets the same task right. It falls as k grows unless every run passes.
Pearson correlation, taught in Judge calibration: checking LLM judges against people
A measure from −1 to 1 of how closely two sets of numeric scores rise and fall together in a straight-line relationship.
Peeking (A/B tests), taught in Online evaluation: A/B tests and user feedback
Checking an experiment’s result repeatedly and stopping as soon as it looks significant, which makes false wins far more likely than the stated rate.
Per-tenant ceiling, taught in Design: an AI customer support platform
The most of a shared limit, such as model input tokens a minute, that one tenant may use at once, checked before the shared limit so one tenant’s burst can’t starve the others.
Permission diff, taught in Design: an enterprise document Q&A product like Glean
A recurring check that samples user and document pairs the copy allows and asks the original source whether that user can open that document; any pair the copy allows and the source refuses is a possible leak.
Permission filter, taught in Access control in RAG: who may see what
A search condition built on the server from the signed-in user, applied inside retrieval so only chunks that user may read are returned.
Permission lane, taught in Design: an enterprise document Q&A product like Glean
A separate, faster queue in an indexing pipeline for changes that only alter who may read a document, so they update stored permissions without waiting behind fetching and embedding.
Permission metadata, taught in Access control in RAG: who may see what
Fields stored with each chunk that say who may read it, such as its tenant, its visibility and the roles allowed to see it.
Persona (simulated user), taught in Simulated users: testing agents before launch
The description a simulated user plays from: the goal, the facts the person knows, when they share each one and how they write. The AI agent under test never sees it.
Persona drift, taught in Simulated users: testing agents before launch
A simulated user leaving its persona during a conversation: forgetting or inventing facts, changing its mood or starting to act like the support side. A drifted conversation says nothing about the agent under test.
Personal data, taught in Building an eval set from real examples
Any information that identifies a person, such as a name, email address, street address, phone number or card number.
pgvector, taught in pgvector: vector search inside PostgreSQL
An open-source PostgreSQL extension that adds a vector column type, operators that measure the distance between vectors, and approximate vector indexes (HNSW and IVFFlat).
Pinned dependency, taught in Deploying an AI service: containers and the cloud
A library fixed to one exact version, so every build installs the same code until someone changes the pin on purpose.
Plan-and-execute, taught in Planning: breaking a goal into steps
An AI agent pattern where one model call writes the whole list of steps before any tool runs, and code or a loop then runs the steps and tracks each one’s status.
Point-of-sale (POS) system, taught in Design: a voice ordering assistant
The system a restaurant or shop uses to take orders and payments and send orders to the kitchen or counter.
Pointwise grading, taught in LLM-as-judge: grading outputs with a model
Grading each output on its own against a rubric, so results are absolute and can be compared across runs.
Policy engine, taught in Mock interview: an agent for internal tools
Code that applies written access rules to a request and returns a decision, such as allow, deny or needs approval, the same way every time and with the rule that fired.
Policy precedence, taught in Mock interview: a RAG assistant
A rule for which document wins when two apply to the same question, stored as data so search can leave out the one that loses instead of asking the model to choose.
Pooling, taught in Embedding models: choosing and comparing them
Building relevance labels by merging the top results of several search methods and having people judge only that merged pool. Items no method found count as not relevant.
Population stability index (PSI), taught in Monitoring quality in production
One number for how much a distribution across categories has shifted from a reference: the sum over categories of (actual share − reference share) × ln(actual share ÷ reference share). A common rule of thumb reads below 0.1 as stable and above 0.25 as a large shift.
Position bias (LLM judges), taught in LLM-as-judge: grading outputs with a model
A judge’s tendency to prefer an answer because of where it appears in the prompt, usually first, rather than because it is better.
Position mapping, taught in Design: a writing assistant like Notion AI
Updating a stored position in a document after each edit, so it keeps pointing at the same text: edits before it shift it, edits after it leave it alone, and deleting the text it points into makes it invalid.
Post-filtering, taught in Filtering vector search by metadata
Running a vector search first and removing results that fail a metadata filter afterwards. It returns too few results when the filter matches a small share of the data.
Pre-filtering, taught in Filtering vector search by metadata
Applying a metadata filter before the vector comparison, so only matching vectors are ever compared with the query.
Precision, taught in Input and output guardrails
Of the items a check flags, the share that really have the problem. Unlike recall, it depends on how common the problem is.
Preemptive generation, taught in Voice agents: real-time spoken conversation
Starting the model call on the interim transcript before the end of the turn is confirmed, and redoing it if the final words differ.
Preference pair, taught in Preference tuning: RLHF and DPO in plain terms
One input with two answers to it, labelled with which one a person or judge preferred: the chosen answer and the rejected one. Preference tuning trains on many of them.
Preference training, taught in Training stages: pretraining, tuning and feedback
Training a model on judgements of which of two answers is better, from people or from an AI model, so it gives the answers judges prefer and declines some requests.
Prefill, taught in KV cache and prompt caching: reusing earlier work
The first phase of a model request, in which the model processes all input tokens at once and fills the KV cache before it can produce the first output token.
Pretrained model, taught in Introduction to AI engineering
A model already trained on a very large amount of data before you use it, so you can use it for a task without training it yourself.
Pretraining, taught in Training stages: pretraining, tuning and feedback
The first and most expensive training stage: next-token prediction on a very large amount of text. It gives a model knowledge and fluency, and fixes its knowledge cutoff.
Priority lane, taught in Provider rate limits, queues and fallbacks
A class of work that shares a rate limit with others but has its own rule for how much of the remaining room it may take, so work a person is waiting for goes first.
Product card, taught in Design: a shopping assistant like Amazon’s
A small block showing one product’s title, image, price, stock and delivery, filled from the store’s own systems rather than written text.
Product quantization, taught in Vector indexes: HNSW, IVF and quantization
Compressing a vector by cutting it into pieces and storing each piece as the number of its nearest entry in a codebook learned with k-means.
Programmatic tool calling, taught in Parallel and sequential tool calls
A Claude API feature where the model writes code that calls your tools inside Anthropic’s code execution container, so several calls run without a model turn between them and their intermediate results stay out of the model’s context.
Prompt, taught in Prompt anatomy: instructions, context, examples, format
Everything sent to a model in one call: the instructions plus any context, examples and input it needs.
Prompt caching, taught in KV cache and prompt caching: reusing earlier work
A provider feature that stores the processed start of a prompt so later requests that begin with the same text read it from the cache at a lower price.
Prompt chaining, taught in Workflows vs agents: when you need autonomy
A workflow pattern in which each model call works on the output of the one before, in an order fixed in code, often with a code check between steps.
Prompt delimiter, taught in Prompt anatomy: instructions, context, examples, format
A marker, such as an XML tag, that shows where one part of a prompt starts and ends, so the model can tell instructions from the input they apply to.
Prompt drift, taught in Prompt pitfalls: ambiguity, drift and leakage
A slow change in an AI feature’s behaviour as small prompt edits pile up, or as the prompt moves to a new model, with no single change to blame.
Prompt injection, taught in Prompt injection: when input becomes instructions
An attack where text in a model’s input is written to be followed as instructions, overriding what the application intended.
Prompt leakage, taught in Prompt pitfalls: ambiguity, drift and leakage
Text from a model’s context, such as the system prompt or another customer’s data, appearing in an output that shouldn’t contain it.
Prompt store, taught in Prompt and model versioning in production
A service or tool that keeps prompts outside the application code, so they can be edited without a deploy. Safe only if every save is a new version, a second person approves, an eval runs and the change goes out in stages.
Prompt template, taught in Prompt templates and version control
The fixed wording of a prompt with named slots that code fills on every call, kept in a file so it can be reviewed and versioned like code.
Prompt version, taught in Prompt templates and version control
An identifier for one exact wording of a prompt, saved with every output it produces so results can be traced and compared.
Proposal tool, taught in Design: a meeting booking assistant
A tool whose call records an action for a person to approve instead of performing it.
Protected resource metadata, taught in Building an MCP server in Python
A JSON document (RFC 9728) a protected server publishes at a well-known URL, telling clients which authorization server issues its tokens and which scopes exist.
Provenance label, taught in Indirect prompt injection through documents and tools
A tag that travels with a piece of text through an AI feature, saying where it came from and who could have written it, so the model, code and people can treat it accordingly.
Provider (AI system), taught in AI regulation: EU AI Act, DPDP and content labels
In the EU AI Act, the company that develops an AI system, or has it developed, and offers it under its own name. The provider carries duties such as telling people they are talking to an AI.
Push notification (A2A), taught in Agent2Agent protocol: agents calling other agents
A webhook call an A2A server makes to a URL the client registered for a task, whenever the task changes, so the client doesn’t have to keep asking.
Pydantic, taught in Validating model output with Pydantic
A Python library that checks data against a class with type hints and rules, and can produce a JSON schema from that class.
pytest, taught in Code-based checks: exact match, rules and schemas
A Python test runner that finds test functions, runs them and reports which passed and which failed.

Q 6

QLoRA, taught in LoRA: fine-tuning with small add-on weights
LoRA training on a base model stored in 4 bits. Each weight is unpacked to 16 bits when used, and only the 16-bit adapters are trained.
Quantization, taught in Quantization: running models in less memory
Storing a model’s weights in fewer bits than it was trained with, such as 8 or 4 instead of 16, so it needs less memory. The rounding can lower quality, so it is checked with an eval.
Quantization scale, taught in Quantization: running models in less memory
One number stored for a group of quantized weights. Each weight is kept as a small integer, and multiplying it by the scale gives back a value close to the original.
Query rewriting, taught in Query rewriting: improving what gets searched
Using a model call to turn a user’s raw message, and the conversation around it, into one or more standalone search queries before retrieval.
Query, key and value, taught in Under the hood: queries, keys and values
Three vectors attention makes from each token by multiplying its embedding by three learned matrices. The query says what the token looks for, the key lets other tokens’ queries score it, and the value is what it hands over when picked.
Queue age, taught in Deploying an AI service: containers and the cloud
How long the oldest waiting job has been in a queue: how late the work already is.

R 55

RAG (retrieval-augmented generation), taught in RAG: grounding answers in your own documents
A pattern where the application first searches its own documents for passages relevant to a question, then sends those passages to the model with the question so the answer can rest on them.
Randomisation unit, taught in Online evaluation: A/B tests and user feedback
The thing an experiment assigns at random to a version: a request, a user, an account or a whole customer organisation.
Range type, taught in Design: a meeting booking assistant
A database type that stores an interval, such as a start and end time, as one value that can be tested for overlap.
Rank (LoRA), taught in LoRA: fine-tuning with small add-on weights
The width r of LoRA’s two small matrices. A higher rank trains more numbers and can express a bigger change to a layer.
Rate-limit headers, taught in Provider rate limits, queues and fallbacks
Response headers in which a model provider reports, for each limit, the maximum, what remains and when the bucket is full again, so a client can slow down before it gets 429 errors.
Raw agreement, taught in Judge calibration: checking LLM judges against people
The share of items on which two graders give the same label, without correcting for agreement by chance.
Re-embedding, taught in Embedding models: choosing and comparing them
Turning every stored item into a vector again with a new embedding model or setting, because vectors from different models can’t be compared.
ReAct, taught in ReAct: reasoning, acting and observing in turns
A pattern for AI agents, from a 2022 paper, that interleaves a thought, an action and the observation the action returns, repeating until the task is done. On current Claude models the thought happens in thinking blocks and the action is a tool call.
Read-back, taught in Design: a voice ordering assistant
Repeating a whole order or instruction back to the person who gave it, so they can confirm or correct it before it is acted on.
Reading order, taught in Document ingestion: parsing PDFs, pages and tables
The order a person would read the words on a page in. A PDF stores characters by position, so an extractor has to rebuild it, and it often guesses wrong on columns and tables.
Reasoning effort, taught in Reasoning effort: paying for extra thinking
A request setting that controls how much a model thinks before it answers. Higher effort usually means more thinking tokens, a higher bill and a longer wait.
Recall, taught in Input and output guardrails
Of the items that really have a problem, the share a check flags.
Reconciliation job, taught in Design: a meeting booking assistant
A scheduled job that compares your own records with an outside system’s and reports any difference.
Recorded tool result, taught in Evaluating agents: task success and trajectories
A real response from a tool’s backing service, saved once with personal data removed and replayed in tests, so every run sees the same realistic answer.
Recursion limit, taught in Lab: rebuilding your agent with LangGraph
LangGraph’s cap on the number of graph steps in one call to the graph. Reaching it raises GraphRecursionError. It counts steps, not model calls, and starts again on every call, including a resume.
Red-teaming, taught in Red-teaming an AI application
Attacking your own system on purpose, the way a real adversary would, to find failures before release. For an AI application the target is the whole feature, not only the model.
Redaction, taught in Prompt pitfalls: ambiguity, drift and leakage
Replacing sensitive details in text, such as names, addresses and order numbers, with neutral labels before the text is stored, shown or sent to a model.
Reference answer, taught in Building an eval set from real examples
One known-good output stored with an eval example, which a grader compares a new output against.
Reference model, taught in Preference tuning: RLHF and DPO in plain terms
A frozen copy of the model as it was before preference tuning. Training compares the tuned model with it to limit how far the tuned model drifts.
Reference period, taught in Monitoring quality in production
A fixed stretch of time when a feature is known to have worked well, used as the normal against which later values are compared. It changes only when a deliberate change is checked and accepted.
Refresh token, taught in MCP security: servers, tokens and tool poisoning
A longer-lived credential an app uses to get new short-lived access tokens without asking the user to sign in again. Rotation means each use returns a new refresh token and the old one stops working.
Refusal, taught in Refusals and fallbacks: when the model declines
A response in which the model declines to produce the requested output. On the Claude API it arrives as a normal 200 response with stop_reason refusal, not as an error.
Refusal category, taught in Refusals and fallbacks: when the model declines
The policy area named in stop_details.category when the Claude API declines a request: cyber, bio, frontier_llm, reasoning_extraction or general_harms, or null when none fits. Some categories are billed even when no output was produced.
Regression test, taught in Debugging RAG: the common failure modes
A test that checks a failure fixed earlier has not come back, run after every change to the system.
Regular expression, taught in Code-based checks: exact match, rules and schemas
A pattern that describes text to search for, such as “13 to 19 digits with optional spaces”, used by code to find or check matching strings.
Reinforcement learning, taught in Preference tuning: RLHF and DPO in plain terms
Training a model by letting it produce outputs, scoring each with a reward, and adjusting the model toward outputs that score higher.
Reinforcement learning from human feedback (RLHF), taught in Training stages: pretraining, tuning and feedback
Preference training in which people rank a model’s answers, a reward model learns from the rankings, and reinforcement learning trains the model to score higher.
Release bundle, taught in Prompt and model versioning in production
Everything that decides an AI feature’s output (prompt text, model id, parameters such as effort and max_tokens, tool definitions, retrieval settings and output checks), released together under one release id and never edited after release.
Release id, taught in Prompt and model versioning in production
One id that names everything that produced an AI output together: prompt version, model id and settings, saved with each output.
Replanning, taught in Planning: breaking a goal into steps
Asking the planner for a corrected plan when a step fails after its retries or a result contradicts what later steps assumed, keeping the steps already done.
Reranker, taught in Reranking: putting the best passages first
A model that takes a query and a short list of candidates from a first search, scores each candidate against the query, and returns them in a new order so the most relevant come first.
Rescoring, taught in Vector indexes: HNSW, IVF and quantization
After a search over compressed vectors, recomputing exact distances for the top candidates from the full vectors and reordering them. It wins back most of the recall that compression lost.
Residual stream, taught in Transformers: the architecture in one picture
The running representation inside a transformer: one row of numbers per token that every layer reads and adds its results to, keeping the same shape from bottom to top.
Resolution rate, taught in Case: Intercom’s custom reranker for support RAG
The share of support conversations an AI agent resolves, as the vendor defines resolved. Used to judge a support assistant by its outcome rather than by its text.
Response buffering, taught in Deploying an AI service: containers and the cloud
A proxy collecting a backend’s response before passing it on, which holds back the pieces of a streamed response.
Response cache, taught in Caching for LLM apps: exact, semantic and prompt
A cache in your own app that stores a finished model reply under a key, so a later request with the same key gets the stored reply without calling the model.
Result handle, taught in Design: a data analysis agent
A short name for a tool result that is stored in full outside the model’s context. The model sees a summary and passes the handle to other tools that need the full data.
Result-set comparison, taught in Text-to-SQL: answering questions from databases
Testing generated SQL by running it and a correct query on the same test database and comparing the rows they return, rather than comparing the SQL text. Also called execution accuracy.
Retrieval log, taught in Access control in RAG: who may see what
A record per request of who asked, the filter applied and the ids and versions of the chunks returned, kept so an answer can be traced to its sources.
Retrieval miss, taught in Long context or RAG: when to send the whole document
A search that fails to return the passage needed to answer, so the model never sees it.
retry-after header, taught in Model API errors, rate limits and retries
A response header that tells the client how many seconds to wait before sending the request again. Retries sent earlier are expected to fail.
Retryable error, taught in Model API errors, rate limits and retries
A failure caused by load or a passing fault, so the same request sent again later can succeed. Errors caused by the request or the account fail the same way every time and must not be retried.
Review queue, taught in Design: an invoice data extractor
A list of items an automated step was not sure enough about, waiting for a person to check, correct or reject them before they take effect.
Reward hacking, taught in Case: how Shopify evaluates its merchant agent
When a system tuned against a score finds ways to raise the score without doing the task the score was meant to measure.
Reward model, taught in Training stages: pretraining, tuning and feedback
A model trained on many comparisons of answers to give any answer a score. Preference training uses the score to update the main model.
Risk level, taught in Content moderation: filtering harmful output
A graded score in a moderation verdict, such as none, low, medium or high, that the application maps to an action instead of a single yes or no.
Router (mixture of experts), taught in Mixture of experts: large models that run fast
A small learned network in each mixture-of-experts layer that scores the experts for a token and picks the few that will process it.
Routing (workflow pattern), taught in Workflows vs agents: when you need autonomy
A workflow pattern in which one model call labels the input and code sends it to the handler for that label.
Routing classifier, taught in Model routing: small models first, large when needed
A small model, or a cheap model call, that reads a request before any answer is written and predicts whether the cheaper model will handle it, so code can send it to the cheaper or the more capable model.
Rubric, taught in LLM-as-judge: grading outputs with a model
The written criteria a grader applies, each with what passes and what fails, so different graders score the same output the same way.
Rug pull (MCP), taught in MCP security: servers, tokens and tool poisoning
A server that changes a tool’s description, or what the tool does, after the user approved it. Consent given to the old version doesn’t cover the new one.
Rules of engagement, taught in Red-teaming an AI application
The written limits of a red-team exercise: what may be attacked, how, what is out of scope, and what happens when something serious is found.
Run limit, taught in Agent reliability: loops, limits and budgets
A hard cap that code checks on every turn of an AI agent run, such as model calls, tokens, wall-clock time or money; the first one reached stops the run.
Run-to-run variance, taught in Regression testing for prompts and models
How much an eval score moves when the same version runs twice, because the model’s outputs and the judge’s grades differ between runs.

S 72

Safety classifier, taught in Refusals and fallbacks: when the model declines
A check that runs with a model and can decline a request it judges could lead to harm. On current Claude models a decline comes back as a normal response with stop_reason refusal.
Sampling (language models), taught in Under the hood: how decoding picks each token
A decoding rule that draws the next token at random, weighted by each token’s probability, so different runs can write different text.
Sandbox, taught in Code execution: running model-written code safely
An environment for running untrusted code that can reach nothing it was not given: no network, limited files, and limits on CPU, memory and time.
Saturation (theoretical saturation), taught in Error analysis: finding what to fix first
The point where reading more failures no longer adds new categories or changes the existing ones.
Scalar quantization, taught in Vector indexes: HNSW, IVF and quantization
Storing each number of a vector in fewer bits, such as 16-bit floats or 8-bit integers instead of 32-bit floats. Vectors take less memory, and distances become slightly less exact.
Scenario (agent eval), taught in Evaluating agents: task success and trajectories
One test case for an AI agent: a task such as a ticket, a fake world for its tools to read, and the end state a correct run should leave behind.
Schema context, taught in Text-to-SQL: answering questions from databases
The part of a text-to-SQL prompt that describes the tables or views the model may query: columns, notes on their meaning, allowed values and example questions with their SQL.
Search API, taught in Design: an AI search engine like Perplexity
A paid web service that takes a search query and returns ranked web results, usually URLs, titles and short snippets, priced per request and limited in requests per second.
Search effort, taught in Approximate nearest neighbours: speed vs recall
The setting on an approximate vector index that controls how much of the space each search examines; higher effort raises recall and latency.
Search result block, taught in Design: an AI search engine like Perplexity
A Claude API content block that carries one search result, with a source, a title and a list of text blocks, so the model can cite your own retrieved passages the way it cites web search results.
Searchable PDF, taught in Document AI: extracting data from scans and forms
A scanned PDF that also holds an invisible text layer made by OCR, so its words can be selected and searched. The text is the OCR engine’s guess, not text printed by software.
Seat pricing, taught in Charging for AI features: metering and quotas per customer
Charging a business customer a fixed amount per user each month, where each user is a seat. Features in the plan, such as an AI allowance, are often sized per seat.
Seed example, taught in Synthetic data: generating training examples
A real or hand-written sample placed in a generation prompt so the model imitates its style, not its content.
Self-hosting (a model), taught in Hosted and open-weight models: the tradeoffs
Running a model’s weights on servers you control or rent, instead of calling a provider’s API. You pay for the hardware by time and run it yourself.
Self-preference bias, taught in LLM-as-judge: grading outputs with a model
A judge’s tendency to rate outputs from its own model, or its own model family, higher than equally good outputs from others.
Semantic cache, taught in Caching for LLM apps: exact, semantic and prompt
A response cache that looks up a question by the meaning of its embedding, returning a stored reply when the closest cached question is similar enough.
Semantic layer, taught in Design: a data analysis agent
A set of named business metrics, each with one agreed definition and the SQL behind it, sitting between people or tools and the raw tables.
Sentence support (citation recall), taught in Design: an AI search engine like Perplexity
Of all the sentences shown in answers, the share that are fully supported by their citations; a sentence with no citation counts as unsupported.
Separation of duties, taught in Mock interview: an agent for internal tools
A rule that no one person holds two permissions that together let them complete a sensitive action alone.
Server tool, taught in Function calling: letting models use tools
A tool the model provider runs on its own infrastructure within the same request, with no handler code in your application.
Server-side fallback, taught in Refusals and fallbacks: when the model declines
A Claude API option, in beta, where a request that one model declines is retried on another model within the same API call, and the response names the model that answered.
Severity, taught in Risks in LLM applications: an overview
How bad a failure is: what it costs and whether it can be undone. Used with how often it happens to decide what to fix first.
Short-term memory (AI agents), taught in Agent memory: short-term context, long-term stores
Everything an AI agent has seen in the current run, kept as the messages list and sent again on every model call. It disappears when the run ends.
Side effect, taught in Parallel and sequential tool calls
A change an operation makes beyond returning data, such as writing a record or sending a message.
Sign test, taught in Building an eval set from real examples
A test that asks how likely a split of changes in one direction against the other would be if each change were a fair coin toss.
Similarity threshold, taught in Caching for LLM apps: exact, semantic and prompt
The lowest similarity score at which a semantic cache treats two questions as the same; higher means fewer hits and fewer wrong answers.
Simulated user, taught in Simulated users: testing agents before launch
A second model that plays the person an AI agent talks to. It is given a persona and a hidden goal, and writes that person’s messages one turn at a time, replying to whatever the agent says.
SIP trunk, taught in Voice agents: real-time spoken conversation
A connection that carries phone calls between a telephone network or provider and software over the internet, using the SIP signalling standard.
Slice (evaluation), taught in Evaluating a fine-tuned model
A group of test inputs that share one trait, such as a language or a ticket length, scored on its own so a weak spot isn’t hidden by the overall average.
Soft label, taught in Distillation: training a small model from a large one
A training label that gives the teacher’s probability for every possible answer, so the student also learns which wrong answers were close. The original distillation paper calls these soft targets.
Soft limit, taught in Charging for AI features: metering and quotas per customer
A usage level that triggers a warning but doesn’t stop anything.
Softmax, taught in Transformers: the architecture in one picture
A function that turns a list of scores into probabilities that are all positive and add up to 1; higher scores get larger probabilities.
Source version check, taught in Design: a support assistant over company docs
A check, when a stored AI output is about to be shown, that the documents it was made from are still at the versions it recorded; if one changed or was removed, the output is made again.
Span event, taught in Lab: adding tracing to an agent
A named, timestamped record attached to a span, with its own attributes, for something that happened at one moment rather than over a period.
Span exporter, taught in Lab: adding tracing to an agent
The part of a tracing setup that sends finished spans somewhere: printed to a terminal, written to a file, or sent over the network to a tracing backend.
Speaker diarization, taught in Speech to text and text to speech
Labelling which speaker said each part of a recording.
Speech to text, taught in Speech to text and text to speech
Turning recorded speech into a written transcript, usually with a separate model or service.
Speech-to-speech model, taught in Voice agents: real-time spoken conversation
A model that takes audio in and produces audio out directly, without separate speech-to-text and text-to-speech steps.
Spend limit, taught in Model API errors, rate limits and retries
A cap on how much an organization can spend on a model API in a period, usually a calendar month. Once it is reached, calls fail until the period ends or the limit is raised.
Spend reservation, taught in Cost control: budgets, quotas and alerts
Adding a call’s worst-case cost to a spend counter before the call, and correcting it to the real cost afterwards, so many workers running at once can’t pass a cap together.
Spend spike alert, taught in Cost control: budgets, quotas and alerts
An alert that compares spend over the last few minutes with spend at the same time on normal days, and pages when it is several times higher and above a dollar floor.
Spot check, taught in Multi-agent systems: orchestrators and subagents
Checking a small random sample of a result’s evidence by hand or with a second model call, to catch errors that format checks miss.
Spotlighting, taught in Indirect prompt injection through documents and tools
A family of prompt techniques that transform untrusted text, by delimiting, datamarking or encoding it, so the model has a continuous signal of where it came from.
SQL-to-text, taught in Case: Swiggy’s text-to-SQL analyst agent
Asking a model to read an existing SQL query and write the plain-language question it answers, so past queries can become question-and-SQL examples.
Stable chunk id, taught in Keeping a RAG index fresh: updates and deletes
An identifier for a chunk computed from its document, such as the document id plus the chunk’s position, so re-indexing the same document produces the same ids and replaces rows instead of adding them.
Stale suggestion, taught in Design: a writing assistant like Notion AI
A model suggestion whose source text was edited after the request was sent, so applying it would overwrite the newer words.
Standard deviation, taught in Monitoring quality in production
A measure of how far values typically sit from their mean. Written σ (sigma).
Statement timeout, taught in Text-to-SQL: answering questions from databases
A database or warehouse setting that cancels any statement running longer than a set time, such as PostgreSQL’s statement_timeout or Snowflake’s STATEMENT_TIMEOUT_IN_SECONDS.
Statistical power, taught in Online evaluation: A/B tests and user feedback
The chance that a test detects a real effect of a given size. 80% is a common target.
stdio transport (MCP), taught in Model Context Protocol: one standard for tools
The MCP transport where the host starts the server as a local process and they exchange one JSON message per line over its standard input and output.
Step progress, taught in AI user experience: waiting, uncertainty and corrections
A way to show a long task that lists the steps already done and the one running now, instead of a percent bar, used when the total number of steps isn’t known in advance.
Step-up authorization, taught in MCP security: servers, tokens and tool poisoning
Asking the user for more permission only when an action first needs it, instead of at sign-in. In MCP, the server answers 403 insufficient_scope with the scope it needs, and the client asks the authorization server again.
Stop condition, taught in Agents: models that act until a goal is met
A rule that ends an AI agent’s loop: the goal is met, a limit on calls or cost is reached, or the case needs a person.
Stop reason, taught in Calling a model API: request, response and cost
The field in a model response that says why the model stopped, such as finishing its answer or reaching the max_tokens ceiling.
Stratified sampling, taught in Building an eval set from real examples
Splitting a population into groups, called strata, and drawing a fixed number at random from each group, so small groups are well represented.
Streamable HTTP, taught in Model Context Protocol: one standard for tools
The MCP transport for remote servers: each message is an HTTP POST to one endpoint, and the reply is a JSON object or a server-sent events stream for that request.
Streaming response, taught in Streaming responses: showing output as it arrives
A model API response sent in small pieces while the model writes it, instead of as one body at the end.
Streaming transcription, taught in Speech to text and text to speech
Transcribing audio while it is still being spoken, by sending small chunks and receiving text back as it is recognised.
Strict tool use, taught in Structured outputs: getting reliable JSON
A tool definition setting that guarantees the model’s call to that tool uses a valid tool name and inputs matching the tool’s schema.
Structured outputs, taught in Structured outputs: getting reliable JSON
A model API feature that constrains the reply to JSON matching a schema you supply.
Student model, taught in Distillation: training a small model from a large one
In distillation, the smaller model trained to reproduce a teacher model’s answers.
Subagent, taught in Multi-agent systems: orchestrators and subagents
An AI agent started by an orchestrator to do one narrow part of a task in a fresh context, returning a short structured report.
Suggestion layer, taught in Design: a writing assistant like Notion AI
A view drawn over a document that shows proposed text, usually as a diff, without changing the document until the person accepts it.
Supervised fine-tuning, taught in Fine-tuning basics: what changes in the model
Further training a model on example inputs paired with the outputs you want, so it learns to produce outputs like them.
Symbol index, taught in Design: a coding assistant like GitHub Copilot
An index built by a language’s compiler tools that records where each function, class or field is defined and every place it is used.
Syntax tree, taught in Text-to-SQL: answering questions from databases
The tree a parser builds from code, with one node for each statement, clause, table, function and value. Checks on the tree can’t be fooled by comments, spacing or extra semicolons the way string checks can.
Synthetic data, taught in Synthetic data: generating training examples
Training or test examples written by a model instead of collected from real use. Useful for rare or new cases; it can’t show how often things really happen.
Synthetically generated information, taught in AI regulation: EU AI Act, DPDP and content labels
In India’s IT Rules (as amended in 2026), audio, images or video made or changed by a computer so they look real. Text on its own is not included.
System prompt, taught in System prompts: setting the role and the rules
Instructions sent with a model call that apply to the whole conversation, such as the model’s role, rules and output format.
System under test, taught in Evals: testing systems that never answer the same way
The exact version of a feature an eval is measuring: its prompt, model and settings. It is the one thing that changes between two runs being compared.

T 48

Take-home task, taught in AI engineering interviews: what companies test
An interview task you build on your own time, usually in a few hours, then hand in with a short write-up for review.
Target modules, taught in LoRA: fine-tuning with small add-on weights
The weight matrices of a model that get a LoRA adapter, named by their layer names, such as q_proj or down_proj.
Task (A2A), taught in Agent2Agent protocol: agents calling other agents
A unit of work in A2A with a server-made id and a state, from submitted and working, through input-required or auth-required, to completed, failed, canceled or rejected.
Teacher model, taught in Distillation: training a small model from a large one
In distillation, the large model whose answers become the training labels for a smaller model.
Temperature, taught in Under the hood: how decoding picks each token
A decoding setting that divides every score before softmax: below 1 it makes the most likely token win more often, above 1 it spreads probability across more tokens.
Test double (fake), taught in Testing code that calls a model: fakes and recordings
A stand-in for a real dependency that a test controls, so the code under test can run without the real thing.
Text layer, taught in Design: an invoice data extractor
The characters stored inside a PDF, with their positions on the page, that let software copy or search the text. Scanned PDFs and photos have none, and its order does not always follow a table’s rows.
Text to speech, taught in Speech to text and text to speech
Turning written text into spoken audio with a synthetic voice.
Text-to-SQL, taught in Text-to-SQL: answering questions from databases
Turning a question in plain words into a SQL query with a model, then running the query on a database and showing the result.
Thinking block, taught in ReAct: reasoning, acting and observing in turns
A content block of type thinking in a model’s reply. Its text is a summary of the model’s reasoning, or empty, and its signature carries the full reasoning, encrypted. In a tool-use loop it must be sent back unchanged.
Thinking tokens, taught in Reasoning effort: paying for extra thinking
Tokens a model writes as reasoning before its answer. They are billed as output tokens and count toward the output limit, even when you don’t see them.
Thread (in LangGraph), taught in Lab: rebuilding your agent with LangGraph
One run’s saved history in a checkpointer, named by a thread id in the run’s config. Calling the graph again with the same thread id continues that run.
Threat model, taught in Risks in LLM applications: an overview
A short written description of what a system must protect, where untrusted input enters it, and who might attack it, used to decide which defences it needs.
Time to first audio, taught in Speech to text and text to speech
The time from sending text to a text-to-speech service until the first sound comes back.
Time to first token, taught in Streaming responses: showing output as it arrives
The time from sending a model request until the first output token arrives. With hidden thinking, the first visible text comes later.
Time to resolution, taught in Human in the loop: approvals and handoffs
The time from a customer’s request arriving to the problem being solved, including every wait for a person, not only the time the software spends working.
Token (language models), taught in Tokens: how models read text and charge for it
A small piece of text, often part of a word, that a language model reads and writes; providers count tokens to set prices and limits.
Token audience, taught in Building an MCP server in Python
The service an access token was issued for. A server must reject a valid token whose audience is a different service.
Token counting endpoint, taught in Provider rate limits, queues and fallbacks
An API call that estimates how many input tokens a request would use on a given model, without running the model. On the Claude API it is free and has its own rate limit.
Token passthrough, taught in MCP security: servers, tokens and tool poisoning
When a server accepts an access token that wasn’t issued for it, or forwards the token it received to another service. MCP forbids both: a server accepts only tokens issued for itself and uses its own token for any service it calls.
Tokenizer, taught in Tokens: how models read text and charge for it
The part of a language model system that cuts text into tokens from a fixed list of pieces, its vocabulary, and turns each token into a number. Different models can use different tokenizers, so the same text can have different token counts.
Tokens-per-minute limit, taught in Model API errors, rate limits and retries
A rate limit on how many tokens an organization may send (input) or receive (output) per minute, set beside the limit on requests per minute. Whichever limit runs out first causes 429 errors.
Tool annotations, taught in Building an MCP server in Python
Hints an MCP server attaches to a tool, such as read-only or destructive. Clients may use them to decide what to confirm, but must not trust them from servers they don’t trust.
Tool call, taught in Function calling: letting models use tools
A request from the model, in a tool_use block, for your code to run one named tool with the given input.
Tool definition, taught in Designing tools a model can use well
The name, description and input schema an application sends to a model for each tool. It is all the model knows about the tool when deciding whether and how to call it.
Tool list pinning, taught in MCP security: servers, tokens and tool poisoning
Storing the tool list a user approved and sending that stored copy to the model, instead of whatever the server lists today. Changes are flagged for review rather than used.
Tool poisoning, taught in MCP security: servers, tokens and tool poisoning
Hiding instructions for the model inside a tool’s description, which the model reads but the user usually doesn’t see in full. It is a form of indirect prompt injection.
Tool result clearing, taught in Context engineering: choosing what the model sees
Replacing old tool results in a conversation with a short note so later calls carry fewer tokens. It invalidates the prompt cache from the cleared point.
Tool runner, taught in Function calling: letting models use tools
A helper in the Anthropic SDKs, in beta, that runs the tool-use loop for you: it calls the model, runs the requested functions and sends their results back until the model finishes.
Tool shadowing, taught in MCP security: servers, tokens and tool poisoning
Tool poisoning aimed at another server’s tools: one server’s description changes how the model uses a tool from a different, trusted server.
Tool use, taught in Function calling: letting models use tools
A model API feature where the model replies with a request to run a named function with given inputs; your code runs it and sends back the result.
tool_choice, taught in Function calling: letting models use tools
A request setting that controls whether the model may call a tool (auto), must call one (any), must call a named one (tool) or must not call any (none).
tool_result block, taught in Function calling: letting models use tools
A content block in the next user message that returns a tool’s output to the model, linked to the request by the tool_use_id of the matching tool_use block.
tool_use block, taught in Function calling: letting models use tools
A content block in a model reply that names a tool, gives an id for the call and holds the input for it; the reply’s stop_reason is tool_use.
Tool-call round, taught in Parallel and sequential tool calls
One model turn plus the tool calls it asks for. A call that needs another call’s output has to wait for a later round.
Toolset, taught in Computer use: models operating browsers and apps
One entry in a request’s tools list that gives the model a family of related tools at once; each call names one member tool and the toolset it belongs to.
Top-k sampling, taught in Under the hood: how decoding picks each token
A decoding rule that keeps only the k most likely next tokens and samples among them, dropping every less likely token.
Top-p (nucleus sampling), taught in Under the hood: how decoding picks each token
A decoding setting that keeps only the smallest set of most likely tokens whose probabilities add up to at least p, then samples from that set.
Total parameters, taught in Mixture of experts: large models that run fast
Every parameter in a model, all experts included. It decides how much memory the weights need.
Trace, taught in Tracing LLM calls: seeing every step
The record of one task from start to finish, made of spans that share one trace id and form a tree, each with its timing, status and attributes.
Trace sampling, taught in Tracing LLM calls: seeing every step
Keeping only some traces to cut storage, decided either when a task starts (head sampling) or after it ends, from its outcome (tail sampling).
Trajectory (of an AI agent), taught in Evaluating agents: task success and trajectories
The steps an AI agent takes in one run, in order: its model calls and the tool calls they asked for.
Transformer, taught in Transformers: the architecture in one picture
The model design behind today’s large language models, built from layers of attention and other steps, introduced in the 2017 paper “Attention Is All You Need”.
Triggered analysis, taught in Design: a shopping assistant like Amazon’s
Analysing an A/B test only over the users who reached the point where the change could affect them, decided the same way in both arms.
Trigram index, taught in Design: a coding assistant like GitHub Copilot
An inverted index from every three-character sequence to the files that contain it, so a text or regular-expression search checks only files that could match instead of scanning all of them.
Turn detection, taught in Voice agents: real-time spoken conversation
Deciding that a speaker has finished their turn, from a silence and often from a model that reads the words and sound so far.

U 11

Uncached input tokens, taught in Token economics: caching, batch and effort together
Input tokens the model processes fresh, neither written to nor read from the prompt cache, billed at the normal input price. On the Claude API they are input_tokens in a response and uncached_input_tokens in the usage report.
Unit test, taught in Evals: testing systems that never answer the same way
An automated test that runs one small piece of code on a fixed input and checks that it returns one expected output.
Upsampling, taught in Preparing data for fine-tuning
Repeating examples of a rare class in the training set so the model sees it more often. It adds weight, not new information, so too many copies lead the model to memorise those examples.
Usage and Cost API, taught in Token economics: caching, batch and effort together
Anthropic’s Admin API endpoints that report an organization’s billed token counts (by minute, hour or day) and costs (by day), grouped by workspace, API key, model and other dimensions.
Usage credit, taught in Charging for AI features: metering and quotas per customer
A new usage record with a negative quantity that cancels an earlier one, used instead of editing or deleting the original so the bill can be rebuilt and every change has a reason.
Usage metadata, taught in Lab: rebuilding your agent with LangGraph
LangChain’s provider-neutral record of the tokens one model call used, attached to the reply message: input, output and total tokens, with details such as cache reads and reasoning (thinking) tokens.
Usage reconciliation, taught in Charging for AI features: metering and quotas per customer
A regular job that compares billed usage records with the system’s own records of the work, and holds an invoice when they disagree.
Usage tier, taught in Model API errors, rate limits and retries
The level a model provider assigns to an account, which sets its rate limits and spend limits. Accounts usually move up as their usage history grows.
User message, taught in System prompts: setting the role and the rules
A turn in a model call’s messages list with the role user. It carries this request’s input, such as the text to work on and what to do with it.
User-Agent, taught in Lab: give a model a weather and maps tool
An HTTP request header that names the program making the request.
UTC, taught in Design: a meeting booking assistant
Coordinated Universal Time, the world’s reference time. It has no daylight saving, so storing instants in UTC keeps them unambiguous.

V 18

Validation error, taught in Validating model output with Pydantic
The error raised when data breaks one or more rules of a schema or validator, listing each broken rule and where it is.
Validation split, taught in Fine-tuning basics: what changes in the model
Examples held back from training and scored during it, to see whether the model works on data it hasn’t learned from and to choose when to stop.
Vector, taught in Embeddings: turning words into numbers with meaning
An ordered list of numbers. In AI engineering, an embedding is stored and compared as a vector.
Vector database, taught in Vector databases: what they add to search
A database that stores vectors with an id and metadata and searches them by similarity, usually through an approximate index, with filtering, updates, deletes and replication.
Vector index, taught in Vector indexes: HNSW, IVF and quantization
A structure that leads a similarity search to likely neighbours so it checks only a small fraction of the stored vectors. It is usually approximate: it can miss a true nearest result.
Vector normalization, taught in Similarity measures: cosine, dot product, distance
Dividing every number in a vector by the vector’s length, so it keeps its direction and has length 1. For normalized vectors, dot product equals cosine similarity.
Vector store, taught in Semantic search: finding by meaning, not keywords
Storage that keeps vectors next to document ids and other fields and returns the stored vectors closest to a query vector.
Vendor lock-in, taught in Agent frameworks: when to use one
The cost of leaving a product or library once your code and data depend on its formats, interfaces or hosting.
Verbosity bias, taught in LLM-as-judge: grading outputs with a model
A judge’s tendency to rate longer answers higher even when the extra length adds nothing.
Versioned price table, taught in Cost control: budgets, quotas and alerts
A table of model prices in which each set of prices has a version and a start date, and each recorded call keeps the version it was priced with, so past costs don’t change when prices do.
View (database), taught in Text-to-SQL: answering questions from databases
A saved query that can be read like a table. It can show only some columns and rows, and by default it runs with its owner’s rights, not the reader’s.
Virtual environment, taught in Lab: a command-line chat with streaming
A folder holding its own copy of Python packages for one project, so they don’t clash with other projects on the same machine.
Vision-language model, taught in Vision models: understanding images and screenshots
A model that takes images as well as text as input and writes text about them. It reads an image as small squares turned into tokens, not as whole pixels.
Visual token, taught in Multimodal inputs: images, PDFs and audio
One small square of an image, 28 by 28 pixels on Claude models, which the model reads and bills like one input token.
Vocabulary (language models), taught in Next-token prediction: how an LLM writes text
The fixed list of tokens a language model can read and write. At each step the model gives every token in this list a probability of coming next.
Voice activity detection (VAD), taught in Voice agents: real-time spoken conversation
A small model that labels each short slice of audio as speech or not speech.
Voice agent, taught in Voice agents: real-time spoken conversation
A system that holds a spoken conversation in real time, usually by chaining voice activity detection, speech to text, a language model and text to speech.
Voice cloning, taught in Speech to text and text to speech
Making a synthetic voice that sounds like a real person, from recordings of that person.

W 10

Web fetch tool, taught in Design: a research agent that writes reports
A server tool on the Claude API that downloads a web page or PDF whose URL already appeared in the conversation and adds its text to the model’s context as a document, with the time it was retrieved.
Web search tool, taught in Design: a research agent that writes reports
A server tool on the Claude API that runs web searches inside a request and adds the results to the model’s context, with citations to the result pages. Each search is billed per use, and the results are billed as input tokens.
Word diff, taught in Design: a writing assistant like Notion AI
A comparison of two texts word by word that lists which words were kept, removed and added.
Word error rate (WER), taught in Speech to text and text to speech
The share of spoken words a transcript gets wrong: substitutions plus deletions plus insertions, divided by the number of words actually spoken.
Word timestamps, taught in Speech to text and text to speech
The start and end time of each word in a transcript, so a word can be found in the original audio.
Workflow (AI), taught in Workflows vs agents: when you need autonomy
An AI feature whose code runs model calls and tools in steps fixed in advance, the same order every time.
Workspace (Claude API), taught in Token economics: caching, batch and effort together
A named group of API keys inside one organization, with its own limits and its own prompt cache, that usage and cost reports can group by.
Workspace spend limit, taught in Cost control: budgets, quotas and alerts
A monthly cap on what one workspace of a model provider account may spend, set lower than the organization’s cap. Requests in that workspace fail once it is reached.
Write tool, taught in Designing tools a model can use well
A tool that changes something outside the conversation, such as an order, a payment or a message to a customer, as opposed to a read tool that only fetches data.
Wrong but approved, taught in Document AI: extracting data from scans and forms
In an extraction eval, the wrong values that passed every check and reached a system without a person seeing them. It is the error that costs money, so its target is zero.

Z 2

Zero data retention, taught in Agent frameworks: when to use one
An arrangement in which a provider does not store the content of your requests and responses after it has processed them.
Zero-shot prompting, taught in Few-shot prompting: teaching by example
Asking a model to do a task from instructions alone, with no examples of the expected output in the prompt.