AI Wisdom
Reference

AI Engineering Glossary

Concise, opinionated definitions for the terms you'll encounter in production AI systems. Click any term for the full explanation.

64 terms and counting

Defined term

Agentic Workflow

4 links

A workflow where an LLM autonomously decides steps, uses tools, and iterates until it achieves a goal.

Reference entryRead →

Defined term

AI Agent

3 links

An LLM-powered system that can plan, use tools, and take actions autonomously to achieve goals.

Reference entryRead →

Defined term

AI Gateway

3 links

An API management layer between your application and LLM providers for routing, caching, and cost control.

Reference entryRead →

Defined term

Attention Mechanism

2 links

The core operation in transformers that computes relevance scores between all pairs of tokens.

Reference entryRead →

Defined term

AutoGen

4 links

Microsoft Research's original open-source multi-agent framework via conversational message passing — now in maintenance mode, superseded by Microsoft Agent Framework.

Reference entryRead →

Defined term

BM25

4 links

A keyword-based ranking function scoring documents by term frequency weighted by inverse document frequency.

Reference entryRead →

Defined term

Chain-of-Thought (CoT)

3 links

A prompting technique that encourages the model to reason step-by-step before giving a final answer.

Reference entryRead →

Defined term

Chunking

3 links

Splitting documents into smaller segments for embedding and retrieval in RAG systems.

Reference entryRead →

Defined term

Constrained Generation

3 links

Techniques that restrict LLM token generation to follow specific formats or formal grammars.

Reference entryRead →

Defined term

Content Safety

3 links

AI-powered classification layers that detect and block harmful or policy-violating content in LLM inputs and outputs.

Reference entryRead →

Defined term

Context Window

3 links

The maximum number of tokens an LLM can process in a single request (input + output combined).

Reference entryRead →

Defined term

Cosine Similarity

3 links

A metric measuring the angle between two vectors, used to compare embedding similarity.

Reference entryRead →

Defined term

Edge Models (SLMs)

4 links

Compact language models optimised to run on-device without cloud connectivity.

Reference entryRead →

Defined term

Embedding

4 links

A dense vector representation of text, images, or other data in a continuous space.

Reference entryRead →

Defined term

Episodic Memory

4 links

Agent memory that stores records of past interactions, enabling recall of previous tasks or conversations.

Reference entryRead →

Defined term

Few-Shot Learning

3 links

Providing a small number of examples in the prompt to teach the model a desired behaviour.

Reference entryRead →

Defined term

Fine-Tuning

4 links

Adapting a pre-trained model on domain-specific data to improve performance for a particular task.

Reference entryRead →

Defined term

Foundation Model

3 links

A large model pre-trained on broad data that can be adapted to many downstream tasks.

Reference entryRead →

Defined term

Guardrails

3 links

Input/output validation layers that prevent LLMs from generating harmful, off-topic, or incorrect responses.

Reference entryRead →

Defined term

Hallucination

3 links

When an LLM generates plausible-sounding but factually incorrect or fabricated information.

Reference entryRead →

Defined term

Hallucination Detection

4 links

Techniques to identify when an LLM generates factually incorrect or unsupported claims.

Reference entryRead →

Defined term

HNSW (Hierarchical Navigable Small World)

3 links

The most popular approximate nearest-neighbour algorithm used in vector databases.

Reference entryRead →

Defined term

Hybrid Search

5 links

Combining vector (semantic) search and keyword (BM25) search for superior retrieval quality.

Reference entryRead →

Defined term

Inference

3 links

Running a trained model to generate predictions or outputs from new inputs.

Reference entryRead →

Defined term

JSON Mode

3 links

An LLM API feature that constrains the model to output syntactically valid JSON.

Reference entryRead →

Defined term

Knowledge Graph

3 links

A graph database representing entities and relationships for structured, multi-hop knowledge retrieval.

Reference entryRead →

Defined term

LangGraph

4 links

A library for building stateful, graph-based agent workflows with persistence and human-in-the-loop support.

Reference entryRead →

Defined term

LangSmith

4 links

LangChain's observability platform for tracing, evaluating, and managing LLM applications.

Reference entryRead →

Defined term

LLM Evaluation (Evals)

4 links

Systematic measurement of LLM output quality using metrics, benchmarks, and automated judges.

Reference entryRead →

Defined term

LLM Streaming

4 links

Returning LLM tokens incrementally as they are generated instead of waiting for the full response.

Reference entryRead →

Defined term

Long-term Memory

4 links

External persistent memory that agents can query and update across multiple sessions.

Reference entryRead →

Defined term

LoRA (Low-Rank Adaptation)

3 links

A parameter-efficient fine-tuning technique that trains small adapter matrices instead of full model weights.

Reference entryRead →

Defined term

MCP (Model Context Protocol)

4 links

A standard protocol enabling AI agents to connect with tools, resources, and prompts across any provider.

Reference entryRead →

Defined term

Meta-Prompting

3 links

Using an LLM to generate, optimise, or select prompts for another LLM task.

Reference entryRead →

Defined term

Model Serving

3 links

Infrastructure for deploying and running ML models in production with APIs.

Reference entryRead →

Defined term

Multi-Agent System

2 links

An architecture where multiple specialised AI agents collaborate to solve complex tasks.

Reference entryRead →

Defined term

Offline Evaluation

4 links

Systematic evaluation of model quality using curated datasets before or outside production.

Reference entryRead →

Defined term

Online Evaluation

4 links

Real-time evaluation of LLM outputs in production using automated judges or user feedback signals.

Reference entryRead →

Defined term

OpenTelemetry for AI

3 links

Using OpenTelemetry semantic conventions to trace and instrument LLM systems for observability.

Reference entryRead →

Defined term

Phoenix (Arize)

4 links

An open-source LLM observability platform for trace analysis, RAG debugging, and embedding drift detection.

Reference entryRead →

Defined term

Planning Loop

4 links

The core agentic cycle where an LLM plans actions, executes them, observes results, and re-plans iteratively.

Reference entryRead →

Defined term

Prompt Engineering

3 links

The practice of designing and optimising input prompts to elicit desired outputs from LLMs.

Reference entryRead →

Defined term

Prompt Injection

3 links

An attack where malicious input manipulates an LLM into ignoring its instructions or leaking system prompts.

Reference entryRead →

Defined term

QLoRA (Quantised LoRA)

3 links

Combines 4-bit quantisation with LoRA to enable fine-tuning of large models on consumer GPUs.

Reference entryRead →

Defined term

Quantisation

3 links

Reducing model precision (e.g., 32-bit to 4-bit) to decrease memory usage and increase inference speed.

Reference entryRead →

Defined term

RAG (Retrieval-Augmented Generation)

4 links

A pattern that grounds LLM responses in retrieved external documents to reduce hallucination.

Reference entryRead →

Defined term

ReAct Prompting

4 links

A prompting paradigm that interleaves Reasoning and Acting steps, enabling LLMs to think before invoking tools.

Reference entryRead →

Defined term

Reciprocal Rank Fusion (RRF)

4 links

A rank-fusion algorithm that merges multiple ranked result lists into a single reliable combined ranking.

Reference entryRead →

Defined term

Red Teaming (LLMs)

3 links

Adversarial testing of LLM systems to systematically discover safety, security, and reliability vulnerabilities.

Reference entryRead →

Defined term

Reranking

4 links

Applying a cross-encoder model to rescore retrieved documents, improving RAG retrieval precision.

Reference entryRead →

Defined term

RLHF (Reinforcement Learning from Human Feedback)

3 links

A training technique that aligns LLM behaviour with human values using human preference annotations.

Reference entryRead →

Defined term

Semantic Kernel

4 links

Microsoft's plugin-based SDK for building AI-powered applications in C#, Python, and Java — now in maintenance mode, superseded by Microsoft Agent Framework.

Reference entryRead →

Defined term

Semantic Search

4 links

Search based on meaning rather than keyword matching, using vector similarity of embeddings.

Reference entryRead →

Defined term

Short-term Memory (In-Context)

4 links

In-context information available to an agent within one session — limited by the model's context window.

Reference entryRead →

Defined term

Structured Output

3 links

Techniques for constraining LLM responses to follow a specific schema (JSON, XML, etc.).

Reference entryRead →

Defined term

System Prompt

3 links

Instructions provided to an LLM that define its behaviour, personality, and constraints.

Reference entryRead →

Defined term

Token

3 links

The smallest unit of text processed by an LLM — roughly 3/4 of a word in English.

Reference entryRead →

Defined term

Token Economics

5 links

The discipline of managing LLM token consumption to control costs and stay within context limits.

Reference entryRead →

Defined term

Tool Registry

4 links

A catalog of tools an AI agent can discover and invoke, with metadata for selection and usage.

Reference entryRead →

Defined term

Tool Use (Function Calling)

3 links

Enabling LLMs to invoke external functions, APIs, or tools based on user intent.

Reference entryRead →

Defined term

Transformer

3 links

The neural network architecture behind modern LLMs, based on self-attention mechanisms.

Reference entryRead →

Defined term

Tree of Thought (ToT)

3 links

A prompting strategy that explores multiple reasoning branches in parallel to find the best path to a solution.

Reference entryRead →

Defined term

Vector Database

4 links

A database optimised for storing and querying high-dimensional embedding vectors.

Reference entryRead →

Defined term

vLLM

3 links

A high-throughput, memory-efficient LLM inference engine using PagedAttention for GPU KV-cache management.

Reference entryRead →