Terminology Database

A-Z AI Glossary

Deep definitions, clear examples, and connected concepts for modern artificial intelligence terminology.

LLM

Large Language Model. Deep learning networks trained on vast textual datasets capable of generating and understanding natural text.

Read Use Cases →

MCP

Model Context Protocol. An open-standard client-server protocol enabling LLMs to safely query data and access tools in external host environments.

Read Use Cases →

RAG

Retrieval-Augmented Generation. Architecture that queries custom document databases to fetch factual context before querying the model.

Read Use Cases →

Vector Embedding

A numerical vector representation of text or data capturing semantic conceptual relationships in high-dimensional space.

Read Use Cases →

Fine-Tuning

Training a pre-trained model on custom datasets to alter its weights and customize its tone, formatting, or domain knowledge.

Read Use Cases →

Inference

The stage where a trained model processes inputs (prompts) and generates outputs (completions).

Read Use Cases →

Context Window

The maximum token payload a model can process in a single invocation, including prompt history and output.

Read Use Cases →

AI Agent

An entity leveraging LLM reasoning loops, memory systems, and tools to execute tasks autonomously in an environment.

Read Use Cases →

Tool Calling

The mechanism where an LLM formats a structured JSON command payload targeting an API, rather than generating natural language text.

Read Use Cases →

Vector Database

A specialized database designed to store, index, and query vector embeddings using similarity algorithms (e.g. HNSW).

Read Use Cases →

Multimodal

Models capable of handling multiple content formats (text, image, audio, video) natively as input and output.

Read Use Cases →

Prompt

The instruction text or context passed to a language model to guide its completion output.

Read Use Cases →

Temperature

A parameter scaling token probability distributions during inference, controlling output randomness/creativity.

Read Use Cases →

Token

The basic unit of text processed by an LLM, typically representing a word, sub-word, or character sequence.

Read Use Cases →

Tokenizer

A mathematical parser that converts raw text strings into arrays of token integer IDs matching a model’s vocabulary.

Read Use Cases →

Hallucination

The phenomenon where an LLM generates factual untruths or nonsensical statements with high statistical confidence.

Read Use Cases →

Quantization

Reducing the precision of model weights (e.g. converting float16 to int4) to reduce RAM size and increase inference speed.

Read Use Cases →

LoRA

Low-Rank Adaptation. A parameter-efficient fine-tuning technique that injects small rank-decomposition matrices into transformer layers.

Read Use Cases →

QLoRA

Quantized Low-Rank Adaptation. Running LoRA adapters on top of a base model quantized to 4-bit precision to save GPU memory.

Read Use Cases →

Attention Mechanism

The mathematical layer in transformers calculating query-key relationships to weight token dependencies in text.

Read Use Cases →

Transformer

The neural network architecture introduced in 2017 using attention mechanisms, replacing recurrent architectures (RNNs).

Read Use Cases →

RLHF

Reinforcement Learning from Human Feedback. Aligning model behavior by training reward models based on human ranking preferences.

Read Use Cases →

DPO

Direct Preference Optimization. An mathematical alternative to RLHF that optimizes policy networks directly using human preference datasets.

Read Use Cases →

Cosine Similarity

A metric measuring the cosine of the angle between two multi-dimensional vectors, evaluating semantic alignment.

Read Use Cases →

HNSW

Hierarchical Navigable Small World. A graph-based indexing algorithm used for fast approximate nearest neighbor searches.

Read Use Cases →

IVF-Flat

Inverted File Flat. An indexing method partitioning vector space into clusters, reducing search scope to centroid zones.

Read Use Cases →

Semantic Search

Retrieving relevant records by assessing conceptual intent and contextual meaning, ignoring exact keywords.

Read Use Cases →

Dense Retrieval

RAG search using dense embeddings from neural encoders, capturing deep semantic relationships.

Read Use Cases →

Sparse Retrieval

Keyword-based search relying on token frequency metrics (e.g. BM25), matching exact terms.

Read Use Cases →

Hybrid Search

Combining dense vector similarity search with sparse keyword search to maximize retrieval accuracy.

Read Use Cases →

Cross-Encoder

A deep-learning ranker scoring query-document pairs simultaneously to yield highly accurate relevance ratings.

Read Use Cases →

Bi-Encoder

An embedder encoding queries and documents independently into vectors, allowing fast dot-product comparisons.

Read Use Cases →

Re-ranking

The stage in RAG where candidate documents are re-ordered by relevance using high-precision ranker models.

Read Use Cases →

Prompt Injection

A security exploit where user input overrides system prompt instructions to execute unauthorized commands.

Read Use Cases →

Jailbreak

Constructing prompts that bypass a model’s safety alignment and guardrails to output restricted answers.

Read Use Cases →

Guardrails

Verification layers filtering LLM inputs and outputs to ensure safety, formatting, and compliance.

Read Use Cases →

Alignment

The training process of aligning AI behavior with human values, ethics, safety guidelines, and user intent.

Read Use Cases →

Red Teaming

Systematically probing AI systems for security exploits, biases, and safety failures using adversarial prompts.

Read Use Cases →

System Prompt

Core instructions defined by developers to establish an LLM’s role, rules, constraints, and operational context.

Read Use Cases →

Zero-Shot

Prompting a model to solve a task without providing any input-output examples.

Read Use Cases →

Few-Shot

Providing one or more input-output examples in a prompt to guide the model’s response formatting or reasoning.

Read Use Cases →

Chain-of-Thought

A prompting technique instructing the model to break down its reasoning into step-by-step paragraphs before outputting answers.

Read Use Cases →

ReAct

Reason + Act. An agent pattern combining step-by-step reasoning (Thought) with action triggers (Action/Observation).

Read Use Cases →

Agentic Workflow

An iterative software loop where LLMs plan, fetch data using tools, evaluate outputs, and repeat until target states are met.

Read Use Cases →

Short-Term Memory

Maintaining chat conversation history within the current context window to support dialogue coherence.

Read Use Cases →

Long-Term Memory

Persisting user preferences, past interactions, or facts across separate sessions using vector stores.

Read Use Cases →

Mixture of Experts

MoE. A transformer architecture routing inputs dynamically to specialized sub-networks (experts) during inference.

Read Use Cases →

Parameter

The internal variables (weights and biases) of a neural network adjusted during the model training process.

Read Use Cases →

Weights

The numerical values determining signal strength between connected nodes in neural network layers.

Read Use Cases →

Backpropagation

The core training algorithm calculating loss gradients backwards through layers to adjust weights.

Read Use Cases →

LLMOps

Large Language Model Operations. Best practices for managing the deployment, scaling, caching, and versioning of LLMs.

Read Use Cases →

Data Drift

The decay of model accuracy over time as the distribution of production input data diverges from training data.

Read Use Cases →

Latency

The time elapsed between sending an API request and receiving the first generated token (Time to First Token).

Read Use Cases →

Throughput

The speed of generation measured in tokens per second processed by the serving server.

Read Use Cases →

GPU

Graphics Processing Unit. Silicon processors optimized for massive parallel floating-point operations, powering modern ML training.

Read Use Cases →

TPU

Tensor Processing Unit. Specialized ASIC chips designed by Google specifically to accelerate machine learning workloads.

Read Use Cases →

NPU

Neural Processing Unit. Specialized silicon blocks inside consumer devices (like laptops or phones) designed for local inference.

Read Use Cases →

GGUF

GPT-Generated Unified Format. A binary file format optimized for fast loading and running quantized models on consumer devices.

Read Use Cases →

Llama.cpp

A lightweight open-source C/C++ runtime enabling high-speed LLM inference on diverse hardware (Mac, Windows, Linux).

Read Use Cases →

CUDA

Compute Unified Device Architecture. NVIDIA’s proprietary software platform and programming interface for GPU computing.

Read Use Cases →

ONNX

Open Neural Network Exchange. An open format built to represent machine learning models, allowing portability across runtimes.

Read Use Cases →

Reranker

A specialized model that scores relevance of document-query pairs, used to filter candidates retrieved by vector search.

Read Use Cases →

Instruction Tuning

Fine-tuning a base model on instruction-following datasets to convert it from a completion engine to an assistant.

Read Use Cases →

Constitutional AI

An alignment framework (developed by Anthropic) training models to adhere to a predefined constitution of rules.

Read Use Cases →

Self-Correction

An agent workflow where the model inspects its own code or output, identifies errors, and reprompts itself to fix them.

Read Use Cases →

Model Drift

A decline in model accuracy or output formatting capability over time due to changes in base weights or system prompt changes.

Read Use Cases →

Vector Store

A library or local module indexing vector arrays directly in memory or local files, avoiding a separate DB server.

Read Use Cases →

Function Schema

A structured JSON schema defining function names, parameters, descriptions, and required arguments for tool calling.

Read Use Cases →

Episodic Memory

Agent memory storing details of past execution steps and tool results during a specific task execution.

Read Use Cases →

Semantic Cache

Caching API completions by checking if new prompts are semantically similar to past prompts, saving costs.

Read Use Cases →

PagedAttention

An memory management algorithm for vLLM reducing VRAM waste in Key-Value caches by partitioning them like OS pages.

Read Use Cases →

Model Server

A software runtime hosting models and exposing API endpoints (e.g. OpenAI compatible) to process requests.

Read Use Cases →

Context Stuffing

Overloading a model’s prompt with excessive documents or text, which can degrade retrieval accuracy.

Read Use Cases →

System Context

The set of background documents, databases, or variables loaded in an LLM application to support reasoning.

Read Use Cases →

Top-P

Nucleus sampling. Filter tokens during inference based on the cumulative probability threshold P.

Read Use Cases →

Top-K

Sampling from the top K highest probability tokens during inference, restricting output vocabulary scope.

Read Use Cases →

Frequency Penalty

A parameter penalizing tokens based on how many times they have already appeared in the output, reducing repetition.

Read Use Cases →

Presence Penalty

A parameter penalizing tokens if they have appeared in the output at least once, encouraging diverse topics.

Read Use Cases →

Embeddings Model

A neural network designed specifically to generate compact vector representations of textual or media data.

Read Use Cases →

TTS

Text-to-Speech. Models converting text strings into natural spoken audio waveforms.

Read Use Cases →

STT

Speech-to-Text. Speech recognition systems converting audio speech inputs into text strings.

Read Use Cases →

Diffusion Model

A generative model family creating images or media by iteratively denoising random Gaussian noise.

Read Use Cases →

Latent Space

The compressed mathematical representation space where model features and concepts are organized.

Read Use Cases →

Mixture of Agents

MoA. An agentic pattern where multiple model outputs are consolidated and refined by synthesizer agents.

Read Use Cases →

Autoregressive

Generative models predicting the next token in a sequence based on all previously generated tokens.

Read Use Cases →

Constitutional AI (Anthropic)

A method developed by Anthropic to train AI assistants to be helpful, harmless, and honest without human feedback.

Read Use Cases →

Prompt Drift

A change in model response reliability due to updates in the model’s underlying weights or inference configurations.

Read Use Cases →

Benchmarking

The practice of running standardized test batteries (e.g. MMLU, HumanEval) to measure model capability.

Read Use Cases →

Context Recall

An evaluation metric assessing whether RAG retrieval systems successfully retrieved the correct document fact.

Read Use Cases →

Context Precision

An evaluation metric assessing if the retrieved documents in RAG context are relevant to the query.

Read Use Cases →

Faithfulness

An evaluation metric measuring whether the model’s answer is derived solely from the retrieved documents, avoiding hallucination.

Read Use Cases →

Answer Relevance

An evaluation metric measuring whether the generated model response directly addresses the user query.

Read Use Cases →

Model Evaluation

Assessing accuracy, latency, and security across model versions using programmatic test suites.

Read Use Cases →

Model Registry

A centralized catalog storing, versioning, and managing weights and metadata of trained models.

Read Use Cases →

Token Cost

The financial cost calculated based on prompt and completion token counts consumed during API requests.

Read Use Cases →

Rate Limit

API request throttles restricting requests per minute (RPM) or tokens per minute (TPM) to prevent overload.

Read Use Cases →

LPU

Language Processing Unit. A processor designed by Groq specifically to handle high-speed sequential token generation.

Read Use Cases →

LoRA Adapter

A lightweight file containing custom adapter weight matrices trained via LoRA, loaded dynamically into a base model.

Read Use Cases →

Embedding Space

The vector coordinate space where semantic embeddings are organized, allowing similarity computations.

Read Use Cases →

Approximate Nearest Neighbor

ANN. Algorithms (e.g. HNSW, IVF) searching for vector matches within threshold distances quickly, sacrificing absolute accuracy.

Read Use Cases →

Chunking

Splitting large documents into smaller semantic text blocks before vectorization, ensuring context chunks fit model inputs.

Read Use Cases →

Semantic Similarity

Evaluating the closeness of two text segments based on conceptual meaning, computed via vector dot product or cosine.

Read Use Cases →

Self-Attention

The core mechanism in transformers calculating relative token importances.

Read Use Cases →

Multi-Head Attention

Running multiple attention heads in parallel to capture distinct features.

Read Use Cases →

FlashAttention

An IO-aware exact attention algorithm optimizing GPU memory accesses.

Read Use Cases →

Decoder-Only

Transformer model family predicting next tokens, optimal for generative chat.

Read Use Cases →

Encoder-Only

Transformer model family producing dense embeddings, optimal for search.

Read Use Cases →

Dense Vector

A numerical representation of text where every vector index contains non-zero float values.

Read Use Cases →

Sparse Vector

A vector where most values are zero, optimal for term frequency scoring.

Read Use Cases →

Inference Pipeline

The end-to-end execution flow of passing prompts and returning tokens in production.

Read Use Cases →

Tokenizer Vocabulary

The set of unique token subwords recognized by a model tokenizer.

Read Use Cases →

Greedy Decoding

Selecting the single highest-probability token at each generation step.

Read Use Cases →

Model Grounding

The process of linking model outputs directly to verifiable external facts.

Read Use Cases →

In-Context Retrieval

Retrieving documentation context to prepend directly inside prompts.

Read Use Cases →

Hierarchical Indexing

Organizing vector spaces into parent-child clusters to optimize search speeds.

Read Use Cases →

BM25

A lexical search relevance algorithm scoring document matches based on term frequency.

Read Use Cases →

Reciprocal Rank Fusion

RRF. A ranking algorithm scoring combined retrieval lists based on position rankings.

Read Use Cases →

Token Allocation

Budgeting prompt and completion contexts to prevent overflow.

Read Use Cases →

Model Quantization

Compressing weights using lower bits to reduce runtime footprint.

Read Use Cases →

Model Degradation

The drop in a model’s performance on standard benchmarks over time.

Read Use Cases →

Adversarial Prompting

Constructing inputs designed to bypass model alignment safeguards.

Read Use Cases →

Guardrail Layer

External validation software verifying prompts and completions before execution.

Read Use Cases →

Structured Outputs

Forcing LLM outputs to adhere to strict JSON schemas.

Read Use Cases →

Agent Memory Logs

Persistent history storage allowing agents to trace past executions.

Read Use Cases →

Plan-And-Solve

An agent execution pattern dividing goals into milestones before running tools.

Read Use Cases →

Human-in-the-loop

Designing manual gates requiring human approval for critical agent actions.

Read Use Cases →

Rate-Limit Backoff

Retrying API calls exponentially after receiving 429 status codes.

Read Use Cases →

Model Distillation

Training smaller student models on output targets of larger teacher models.

Read Use Cases →

PEFT

Parameter-Efficient Fine-Tuning, adapting models with minimum parameter updates.

Read Use Cases →

RLAIF

Reinforcement Learning from AI Feedback, utilizing model graders for preference scoring.

Read Use Cases →

LoRA Rank

The dimension size of LoRA adapter weight matrices, regulating learning capacity.

Read Use Cases →

RoPE

Rotary Position Embeddings, a position encoding technique enhancing long context windows.

Read Use Cases →

Sliding Window Attention

Restricting attention scopes to local neighbor spans to accelerate decoding.

Read Use Cases →

System Tracing

Logging trace spans of nested LLM pipelines for debugging.

Read Use Cases →

Instruction Dataset

Curated prompt-response pairs used for training helper models.

Read Use Cases →

LPU serving

Executing token inference on Groq specialized hardware arrays.

Read Use Cases →

Headless Agent

An agent running asynchronously in background tasks without UI blockers.

Read Use Cases →

Cosine Distance

Normalized vector distance metric calculating angles (1 – Cosine Similarity).

Read Use Cases →