FlowDiagram
14 templates

AI & ML pipelines templates

Model training, RAG and agent architectures. Every one opens as a real, editable diagram — restyle it, extend it and export it as your own. See also the data pipeline diagram tool.

All 14 ai & ml pipelines templates

Source docum…Parse & cleanChunk with o…Embedding modelVector databaseMetadata & p…

RAG (retrieval-augmented generation) pipeline

Documents indexed, retrieved, and used to ground an LLM answer.

Mermaid
Raw training…Train / vali…Preprocess &…Hyperparamet…Train candid…Experiment t…

ML model training pipeline

Data to a deployed model, with an evaluation gate.

Mermaid
User requestLoad system…LLM plans ne…Needs a tool?Draft final…Select tool…

LLM agent tool-use loop

An agent choosing between answering and calling a tool.

Mermaid
ClientAPI gatewayAPI key checkCached predi…Fetch online…Canary traff…

Model inference serving

A request path through a model server with caching.

Mermaid
Customer mes…Web, app or…Redact perso…Intent detec…Intent?Order API lo…

Customer support chatbot architecture

Intent routing between an LLM and a human handoff.

Mermaid
Raw samplesDeduplicateActive learn…Model pre-la…Annotator 1Annotator 2

Data labeling pipeline for ML

Raw samples through human review into a training set.

Mermaid
IP cameras:…Video decode…Resize & nor…YOLO detecto…Object track…Event rule m…

Computer vision inference at the edge

Cameras feeding an edge device that runs an optimised detection model locally, sending only events and samples to the cloud for retraining — for computer vision and IoT teams.

Mermaid
User opens a…Recommendati…Clicks, view…Kafka event str…Feature stor…Data lake: i…

Recommendation system architecture

A two-stage recommender: user events feed a feature store, candidate generation retrieves items, a ranking model scores them and business rules re-rank — for ML and product engineers.

Mermaid
Tickets, ema…Ingest via A…Clean: strip…Supported la…Machine tran…Tokenise: Hu…

NLP text classification pipeline

Classifying support tickets or reviews: text cleaning, tokenisation, a fine-tuned transformer, confidence thresholds and human review for low-confidence predictions — for NLP engineers.

Mermaid
Call recordi…Object stora…Convert to 1…Voice activi…Speech detec…Mark as sile…

Speech-to-text pipeline

Turning call or meeting audio into searchable transcripts: voice activity detection, Whisper transcription, speaker diarisation, PII redaction and summarisation — for voice AI teams.

Mermaid
Metrics, log…Kafka topicsFlink: windowed…Seasonal bas…Isolation Fo…Combined ano…

Anomaly detection pipeline

Detecting unusual behaviour in metrics or transactions: streaming features, an unsupervised model, dynamic thresholds, alert routing and analyst feedback — for ops and risk teams.

Mermaid
Candidate mo…Offline eval…Beats champi…Archive in M…Shadow deplo…Compare pred…

A/B model evaluation & shadow deployment

Safely promoting a new ML model: offline evaluation, shadow traffic, canary, online A/B test with guardrail metrics and automatic rollback — for MLOps and data science teams.

Mermaid
Application…Batch pipelines…Kafka event str…Streaming featu…Feature regi…Offline store:…

Feature store architecture

An offline and online feature store: batch and streaming pipelines compute features once, a registry defines them, and training and serving read consistent values — for ML platform teams.

Mermaid
Docs, PDFs,…Parse & extr…Chunk ~500 t…Attach metad…Embedding mo…Upsert vecto…

Embedding & vector search pipeline

Building semantic search: documents are chunked, embedded and indexed in a vector database, then queries are embedded, matched with hybrid search and re-ranked — for search and AI engineers.

Mermaid

Other template categories