AI-Era Architecture

General material on architecting systems that include models.

7Questions
19Flashcards
13Terms
Terminology

13 terms in this topic

pattern

AI Gateway

A shared proxy in front of model providers that centralises routing, keys, quotas, caching, logging and safety policy.

concept

Context Window

The maximum number of tokens a model can attend to in one request, holding the system prompt, history, retrieved context, tools and the answer.

concept

Embedding

A dense numeric vector representing a piece of content, positioned so that semantically similar content sits nearby.

pattern

Human in the Loop

Requiring human review or approval at a defined point in an automated flow, chosen by the reversibility and cost of the action.

practice

LLM Evaluation

A repeatable measurement of whether an AI system's outputs are good enough, on cases that reflect the actual task.

protocol

Model Context Protocol

An open protocol that standardises how AI applications connect to external tools, data sources and prompts.

pattern

Model Router

Directing each request to a model chosen by the task's difficulty, cost and latency budget, rather than sending everything to the largest model available.

concept

Prompt Injection

An attack in which text from an untrusted source is interpreted by the model as instructions rather than as data.

tool

Prompt Registry

A versioned store of production prompts with their model bindings, parameters and evaluation results, so a prompt change is a reviewable, traceable, …

pattern

Retrieval-Augmented Generation

Retrieving relevant documents at query time and putting them in the model's context, so answers are grounded in your data rather than in training data.

pattern

Semantic Cache

Caching model responses keyed by the meaning of the request rather than by its exact text, so near-duplicate questions are served without a model call.

pattern

Tool Calling

Giving a model a set of typed function definitions it can request to invoke, with the application executing the call and returning the result.

tool

Vector Database

A store optimised for approximate nearest-neighbour search over high-dimensional embeddings.

AI-Era Architecture

Neighbouring topics

LLM Application Architecture

The shape of a production system with a model in the request path.

4 quiz 10 cards 3 terms

RAG Architecture

Retrieval, grounding, citation and the permissions RAG can enforce.

6 quiz 9 cards 4 terms

Vector Databases

Approximate nearest-neighbour search, filtering and re-indexing.

4 quiz 6 cards 2 terms

Embeddings

Dense representations, model coupling and the migration they imply.

3 quiz 8 cards 3 terms

Chunking & Retrieval

Structure-aware splitting, hybrid search and why chunking dominates quality.

5 quiz 6 cards 3 terms

Reranking

Cross-encoders improving precision more than a bigger embedding model.

3 quiz 7 cards 3 terms

Model Selection

Capability, latency, cost and the evaluation that decides between them.

5 quiz 7 cards 3 terms

AI Gateways

Centralised routing, keys, quotas, caching, logging and safety policy.

4 quiz 6 cards 2 terms

Prompt & Version Management

Prompts as reviewed, versioned, evaluated production configuration.

4 quiz 5 cards 2 terms

Agent Architectures

Loops, planning, memory and the boundaries an agent must not cross.

4 quiz 6 cards 2 terms

Tool Calling

Typed tool interfaces, narrow parameters and per-tool authorisation.

4 quiz 8 cards 3 terms

Multi-Agent Systems

Coordination, hand-off and whether more agents actually help.

4 quiz 6 cards 2 terms

LLM Evaluation

Held-out sets, rubric judging, CI gates and production sampling.

4 quiz 9 cards 2 terms

AI Observability

Logging prompts, versions, retrieved context and cost per request.

4 quiz 6 cards 4 terms

Guardrails

Deterministic checks on input and output that fail closed.

4 quiz 8 cards 3 terms

Prompt Injection Defence

Breaking the private-data, untrusted-input, outbound-channel combination.

4 quiz 11 cards 5 terms

AI Cost Management

Token accounting, routing, caching and the context-window budget.

5 quiz 9 cards 3 terms

Human in the Loop

Gating by reversibility and blast radius, and avoiding approval fatigue.

4 quiz 5 cards 3 terms

ML Platform

Feature stores, training pipelines, registries and deployment.

4 quiz 12 cards 4 terms