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

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 β†’