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
AI Agent
An LLM-powered system that can plan, use tools, and take actions autonomously to achieve goals.
Read more βAI Gateway
An API management layer between your application and LLM providers for routing, caching, and cost control.
Read more βAgentic Workflow
A workflow where an LLM autonomously decides steps, uses tools, and iterates until it achieves a goal.
Read more βAttention Mechanism
The core operation in transformers that computes relevance scores between all pairs of tokens.
Read more βAutoGen
Microsoft's open-source framework for building multi-agent AI applications via conversational message passing.
Read more βBM25
A keyword-based ranking function scoring documents by term frequency weighted by inverse document frequency.
Read more βChain-of-Thought (CoT)
A prompting technique that encourages the model to reason step-by-step before giving a final answer.
Read more βChunking
Splitting documents into smaller segments for embedding and retrieval in RAG systems.
Read more βConstrained Generation
Techniques that restrict LLM token generation to follow specific formats or formal grammars.
Read more βContent Safety
AI-powered classification layers that detect and block harmful or policy-violating content in LLM inputs and outputs.
Read more βContext Window
The maximum number of tokens an LLM can process in a single request (input + output combined).
Read more βCosine Similarity
A metric measuring the angle between two vectors, used to compare embedding similarity.
Read more βEdge Models (SLMs)
Compact language models optimised to run on-device without cloud connectivity.
Read more βEmbedding
A dense vector representation of text, images, or other data in a continuous space.
Read more βEpisodic Memory
Agent memory that stores records of past interactions, enabling recall of previous tasks or conversations.
Read more βFew-Shot Learning
Providing a small number of examples in the prompt to teach the model a desired behaviour.
Read more βFine-Tuning
Adapting a pre-trained model on domain-specific data to improve performance for a particular task.
Read more βFoundation Model
A large model pre-trained on broad data that can be adapted to many downstream tasks.
Read more βGuardrails
Input/output validation layers that prevent LLMs from generating harmful, off-topic, or incorrect responses.
Read more βHNSW (Hierarchical Navigable Small World)
The most popular approximate nearest-neighbour algorithm used in vector databases.
Read more βHallucination
When an LLM generates plausible-sounding but factually incorrect or fabricated information.
Read more βHallucination Detection
Techniques to identify when an LLM generates factually incorrect or unsupported claims.
Read more βHybrid Search
Combining vector (semantic) search and keyword (BM25) search for superior retrieval quality.
Read more βInference
Running a trained model to generate predictions or outputs from new inputs.
Read more βJSON Mode
An LLM API feature that constrains the model to output syntactically valid JSON.
Read more βKnowledge Graph
A graph database representing entities and relationships for structured, multi-hop knowledge retrieval.
Read more βLLM Evaluation (Evals)
Systematic measurement of LLM output quality using metrics, benchmarks, and automated judges.
Read more βLLM Streaming
Returning LLM tokens incrementally as they are generated instead of waiting for the full response.
Read more βLangGraph
A library for building stateful, graph-based agent workflows with persistence and human-in-the-loop support.
Read more βLangSmith
LangChain's observability platform for tracing, evaluating, and managing LLM applications.
Read more βLoRA (Low-Rank Adaptation)
A parameter-efficient fine-tuning technique that trains small adapter matrices instead of full model weights.
Read more βLong-term Memory
External persistent memory that agents can query and update across multiple sessions.
Read more βMCP (Model Context Protocol)
A standard protocol enabling AI agents to connect with tools, resources, and prompts across any provider.
Read more βMeta-Prompting
Using an LLM to generate, optimise, or select prompts for another LLM task.
Read more βModel Serving
Infrastructure for deploying and running ML models in production with APIs.
Read more βMulti-Agent System
An architecture where multiple specialised AI agents collaborate to solve complex tasks.
Read more βOffline Evaluation
Systematic evaluation of model quality using curated datasets before or outside production.
Read more βOnline Evaluation
Real-time evaluation of LLM outputs in production using automated judges or user feedback signals.
Read more βOpenTelemetry for AI
Using OpenTelemetry semantic conventions to trace and instrument LLM systems for observability.
Read more βPhoenix (Arize)
An open-source LLM observability platform for trace analysis, RAG debugging, and embedding drift detection.
Read more βPlanning Loop
The core agentic cycle where an LLM plans actions, executes them, observes results, and re-plans iteratively.
Read more βPrompt Engineering
The practice of designing and optimising input prompts to elicit desired outputs from LLMs.
Read more βPrompt Injection
An attack where malicious input manipulates an LLM into ignoring its instructions or leaking system prompts.
Read more βQLoRA (Quantised LoRA)
Combines 4-bit quantisation with LoRA to enable fine-tuning of large models on consumer GPUs.
Read more βQuantisation
Reducing model precision (e.g., 32-bit to 4-bit) to decrease memory usage and increase inference speed.
Read more βRAG (Retrieval-Augmented Generation)
A pattern that grounds LLM responses in retrieved external documents to reduce hallucination.
Read more βRLHF (Reinforcement Learning from Human Feedback)
A training technique that aligns LLM behaviour with human values using human preference annotations.
Read more βReAct Prompting
A prompting paradigm that interleaves Reasoning and Acting steps, enabling LLMs to think before invoking tools.
Read more βReciprocal Rank Fusion (RRF)
A rank-fusion algorithm that merges multiple ranked result lists into a single reliable combined ranking.
Read more βRed Teaming (LLMs)
Adversarial testing of LLM systems to systematically discover safety, security, and reliability vulnerabilities.
Read more βReranking
Applying a cross-encoder model to rescore retrieved documents, improving RAG retrieval precision.
Read more βSemantic Kernel
Microsoft's open-source SDK for building AI-powered applications in C#, Python, and Java.
Read more βSemantic Search
Search based on meaning rather than keyword matching, using vector similarity of embeddings.
Read more βShort-term Memory (In-Context)
In-context information available to an agent within one session β limited by the model's context window.
Read more βStructured Output
Techniques for constraining LLM responses to follow a specific schema (JSON, XML, etc.).
Read more βSystem Prompt
Instructions provided to an LLM that define its behaviour, personality, and constraints.
Read more βToken
The smallest unit of text processed by an LLM β roughly 3/4 of a word in English.
Read more βToken Economics
The discipline of managing LLM token consumption to control costs and stay within context limits.
Read more βTool Registry
A catalog of tools an AI agent can discover and invoke, with metadata for selection and usage.
Read more βTool Use (Function Calling)
Enabling LLMs to invoke external functions, APIs, or tools based on user intent.
Read more βTransformer
The neural network architecture behind modern LLMs, based on self-attention mechanisms.
Read more βTree of Thought (ToT)
A prompting strategy that explores multiple reasoning branches in parallel to find the best path to a solution.
Read more βVector Database
A database optimised for storing and querying high-dimensional embedding vectors.
Read more βvLLM
A high-throughput, memory-efficient LLM inference engine using PagedAttention for GPU KV-cache management.
Read more β
