Learning Path
Generative AI
GenAI concepts in reading order, from foundations to how teams actually ship. 96 concepts in 15 stages. Read in order, or skip to a topic. Each page lists a few sources and what they cover.
Stage 01
Foundations
The model is a reasoning engine. Facts live in retrieval, tools, and your systems of record.
7 concepts
- 01
What Is Generative AI
AI systems that create new text, code, images, or audio by learning statistical patterns from large datasets instead of executing only hand-written rules.
- 02
LLM as Reasoning Engine
A general inference layer: it turns inputs into language and decisions. It is not a database of your company's facts.
- 03
Parametric Memory Limits
Knowledge compressed into model weights is static, approximate, and cannot be updated per request—unlike retrieval or tool-backed non-parametric memory.
- 04
Prompting
Structuring instructions, context, and examples so the model produces useful, controllable outputs for a specific task.
- 05
System Prompts
Persistent instructions that define role, rules, and tone across turns, separate from the user's immediate request.
- 06
Zero-Shot and Few-Shot Learning
Zero-shot asks the model to perform a task with instructions alone; few-shot adds inline examples that demonstrate the desired input-output pattern.
- 07
Chain of Thought
Prompting the model to expose intermediate reasoning steps before the final answer, improving accuracy on multi-step problems.
Stage 02
Models & Tokens
Tokens, cost, and which model to call. Pack meaning; do not max out the window by default.
8 concepts
- 08
Tokenization
The process of splitting text into subword units (tokens) that the model reads, generates, and bills against.
- 09
Tokens and Cost
Provider pricing and latency scale with tokens processed—input, output, and often cached-input discounts.
- 10
Semantic Density
How much meaning you pack per token—dense prompts convey constraints and evidence compactly without wasting context window.
- 11
Model Families
Lineages of models sharing architecture, tokenizer, and training recipe—GPT, Claude, Gemini, Llama, Mistral, and domain-specific variants.
- 12
Open vs Closed Models
Closed models are proprietary APIs; open-weight models can be self-hosted, fine-tuned, and inspected—each with different ops and compliance tradeoffs.
- 13
Temperature and Sampling
Sampling controls how randomly the model picks next tokens—low temperature for deterministic tasks, higher for creative variation.
- 14
Structured Output
Constraining model responses to machine-parseable schemas—JSON, enums, or tool-call payloads—so downstream code can act reliably.
- 15
Fine-Tuning
Continued training on curated data to adapt model behaviour—tone, format, domain language—without replacing base reasoning capabilities.
Stage 03
Transformers & Attention
Enough architecture to see the limits: attention, what context costs, and why recall drops.
6 concepts
- 16
Transformers
Neural architecture using self-attention to relate all tokens in a sequence—foundation of modern LLMs and many multimodal models.
- 17
Attention Mechanism
Weighted lookup that lets each token focus on the most relevant other tokens when building its representation.
- 18
Encoder-Decoder Architecture
Two-stack design: encoder builds bidirectional representations; decoder generates output autoregressively—common in translation and some RAG rerankers.
- 19
Pretraining vs Inference
Pretraining learns general language patterns offline at massive scale; inference applies those weights to new prompts at serving time.
- 20
Scaling Laws
Empirical relationships showing predictable quality gains as models, data, and compute grow—guiding frontier vs efficient model choices.
- 21
Lost in the Middle
Models often under-use information placed in the middle of long contexts, overweighting beginnings and endings.
Stage 04
Context Engineering & Caching
Decide what the model sees at inference: prefixes, caches, and misses you will not notice in the UI.
7 concepts
- 22
Context Window
Maximum tokens the model can attend to in one forward pass—system, history, retrieval, tools, and completion combined.
- 23
Context Engineering
Deliberate curation of what enters the prompt—ordering, compression, retrieval, and tool results—to maximize answer quality per token.
- 24
Long Context
Models and techniques supporting hundred-thousand to million-token inputs—whole codebases, corpora, or transcripts in one shot.
- 25
Prompt Caching
Reusing computed prefix states across requests with identical early prompt segments to cut latency and input-token cost.
- 26
Cache Miss Patterns
Common production habits that break prefix reuse—mutable system prompts, non-deterministic tool JSON, and sliding-window history.
- 27
Memory Patterns
Architectures for what the system remembers across sessions—working context, summaries, vector recall, and external stores.
- 28
Chat History Management
Strategies to trim, summarize, and structure multi-turn conversations so quality stays high without blowing token budgets.
Stage 05
Programmatic Prompting
Write programs with signatures and metrics instead of editing adjectives in a prompt box.
6 concepts
- 29
DSPy
Framework treating LLM pipelines as optimizable programs—signatures, modules, and teleprompters search for better prompts and weights.
- 30
DSPy Signatures
Typed input-output contracts in DSPy that specify fields, docstrings, and constraints for each module step.
- 31
Teleprompters
DSPy optimizers that search over prompts, few-shot sets, or module parameters to maximize a training metric.
- 32
GEPA
Genetic-Pareto prompt optimizer in DSPy that evolves prompt candidates under multi-objective metrics.
- 33
MiPROv2
DSPy teleprompter using model-informed proposal and search to refine instructions and few-shot sets efficiently.
- 34
Programmatic Prompting
Building prompts through code—templates, optimizers, and typed modules—instead of one-off strings in notebooks.
Stage 06
Embeddings & Representation
Turn meaning into vectors so systems can compare, search and cluster by similarity.
8 concepts
- 35
Embeddings
Dense vector representations of text (or other modalities) where semantic similarity approximates geometric closeness.
- 36
Vector Similarity
Scoring how close two embeddings are—usually cosine similarity or dot product—to rank candidates for retrieval.
- 37
Vector Databases
Storage engines optimized for approximate nearest-neighbor search over millions of embeddings with metadata filters.
- 38
Chunking
Splitting documents into retrieval-sized pieces before embedding—balance context completeness against search precision.
- 39
Semantic Chunking
Splitting text at natural topic boundaries detected by embedding similarity shifts between sentences or paragraphs.
- 40
Late Chunking
Embed the full document (or large span) first, then derive chunk vectors from internal model states—preserving global context in each piece.
- 41
Structure-Aware Chunking
Splitting along document structure—headings, tables, slides, code blocks—so chunks respect logical units and metadata.
- 42
Multimodal Embeddings
Joint vector spaces for text, images, audio, or video—enabling cross-modal search and retrieval.
Stage 07
Retrieval & Ranking
Hybrid search, reranking and query transformation — broad recall first, then precision.
7 concepts
- 43
Semantic Search
Finding documents by meaning similarity between query and corpus embeddings rather than exact keyword match.
- 44
Hybrid Search
Combining dense vector retrieval with sparse lexical methods (BM25) for robust recall across paraphrase and keyword queries.
- 45
Reranking
Second-stage model that scores query-passage pairs with richer interaction than bi-encoder retrieval alone.
- 46
ColBERT
Late-interaction retrieval model keeping token-level embeddings for efficient fine-grained matching between query and document.
- 47
Query Transformation
Rewriting user queries—expansion, decomposition, or step-back—for better retrieval against the index.
- 48
HyDE
Hypothetical Document Embeddings—generate a fake answer passage, embed it, and retrieve real documents similar to that hypothesis.
- 49
Indexing Strategies
How and when you chunk, embed, and refresh corpora—batch, incremental, multi-version, and metadata-rich pipelines.
Stage 08
Production RAG
From retrieve-and-stuff demos to pipelines with chunking, citations, and evaluation.
9 concepts
- 50
Retrieval-Augmented Generation
Retrieve relevant external documents at query time, inject them into the prompt, then generate an answer grounded in that evidence.
- 51
RAG Architecture
End-to-end components—ingestion, indexing, retrieval, reranking, generation, citation, and feedback loops—for grounded QA.
- 52
Citation and Grounding
Requiring answers to quote or link retrieved evidence—and refusing when support is insufficient.
- 53
RAG Evaluation
Metrics and datasets for retrieval quality and generation faithfulness—Precision@K, Recall@K, faithfulness, answer relevance.
- 55
Advanced RAG
Patterns beyond naive retrieve-once—multi-query, rerank, compress, route, and agentic retrieval loops.
- 56
REFRAG
Retrieval compression pattern that keeps many candidate chunks as compact embeddings and expands only the ones the decoder needs back into tokens.
- 57
GraphRAG
Combining knowledge graphs or community summaries with vector retrieval for global and relational questions over corpora.
- 58
Knowledge Bases
Curated corpora—wikis, tickets, PDFs, APIs—governed for ingestion, access control, and freshness as RAG source of truth.
- 59
Naive vs Production RAG
Naive RAG embeds docs and calls the LLM once; production RAG adds hybrid search, reranking, evals, guardrails, and ops.
Stage 09
Agents & Orchestration
Loops that plan, call tools, and stop. Graphs, crews, and memory you can inspect.
8 concepts
- 60
AI Agents
LLM-driven systems that plan, use tools, and iterate toward goals—not just single-shot text completion.
- 61
Planning and Reasoning
Decomposing goals into steps, choosing tools, and revising plans when observations contradict assumptions.
- 62
Human in the Loop
Checkpointing agent actions for human approval, correction, or escalation before irreversible side effects.
- 63
Multi-Agent Systems
Multiple specialized agents coordinating—researcher, coder, reviewer—via shared state or message passing.
- 64
LangGraph
Graph-based agent orchestration modeling workflows as state machines with nodes, edges, and checkpointed state.
- 65
CrewAI
Multi-agent framework organizing agents as crews with roles, goals, and delegated tasks—emphasizing collaborative role-play.
- 66
AutoGen
Microsoft framework for conversational multi-agent interaction—agents message each other until termination conditions.
- 67
Agent Memory Tiers
Layered memory—working buffer, episodic summaries, long-term vector store—for agents across sessions and tasks.
Stage 10
Tools & MCP
Wire models to APIs without inventing a new SDK every time. Tool calling and MCP.
3 concepts
- 68
Tool Calling
Pattern where models emit structured calls to external tools—APIs, databases, code—instead of only natural language.
- 69
Function Calling
Vendor API pattern where models return named functions with arguments matching predefined schemas for runtime execution.
- 70
Model Context Protocol (MCP)
Open protocol connecting AI hosts to external MCP servers exposing tools and resources through a standard client-server contract.
Stage 11
Evaluation & Quality
Score answers, not vibes: faithfulness, retrieval metrics, and LLM judges such as G-Eval.
7 concepts
- 54
RAGAS
Reference-free RAG evaluation suite measuring faithfulness, answer relevance, context precision, and context recall with LLM-assisted scoring.
- 71
LLM Evaluation
Systematic measurement of quality, safety, and cost across prompts, models, and pipelines—not vibe checks alone.
- 72
Hallucination
Model outputs that sound plausible but are factually unsupported or contradict provided evidence.
- 73
LLM as Judge
Using a strong model to score another model's outputs against rubrics—relevance, safety, coherence.
- 74
G-Eval
Evaluation framework using LLMs with chain-of-thought rubrics to score outputs on dimensions like coherence and groundedness.
- 75
Observability for LLM Apps
Tracing prompts, retrievals, tool calls, latencies, token costs, and scores across production requests.
- 76
Faithfulness and Relevance
Faithfulness measures whether answers are supported by context; relevance measures whether they address the question.
Stage 12
Guardrails & Safety
Runtime controls: injection defense, content classifiers, and programmable rails.
5 concepts
- 77
Guardrails
Policy layers—input filters, output validators, tool allowlists—that constrain model behaviour before and after generation.
- 78
Prompt Injection
Attacks embedding instructions in untrusted content—emails, web pages—to hijack agent behaviour.
- 79
Red Teaming
Adversarial testing to discover jailbreaks, data leaks, and unsafe tool use before attackers do.
- 80
Llama Guard
Safety classifier models (Llama Guard family) scoring inputs and outputs against policy categories for allow/block decisions.
- 81
NeMo Guardrails
NVIDIA NeMo Guardrails-style programmable rails: declarative Colang policies, dialog boundaries, and tool constraints around LLM calls.
Stage 13
Multimodal
Images, audio, and documents as inputs, not afterthoughts.
3 concepts
- 82
Multimodal Models
Models accepting and generating multiple modalities—text, images, audio—in unified or paired architectures.
- 83
Speech to Text
Automatic transcription of audio into text for downstream LLM summarization, search, and agent tools.
- 84
Summarization Patterns
Map-reduce, hierarchical, and extractive-abstractive blends for long content—docs, calls, threads.
Stage 14
Enterprise Patterns & Governance
Architecture, privacy, cost, and who is accountable when the model is wrong.
6 concepts
- 85
Enterprise AI Patterns
Reference architectures for secure, multi-tenant GenAI—VPC deployment, SSO, audit logs, staged rollouts.
- 86
Privacy and Data Handling
Policies for PII redaction, data residency, retention, and customer consent when sending text to models.
- 87
Model Routing
Sending requests to different models by task complexity, cost tier, latency SLO, or data sensitivity.
- 88
Cost Optimization
Controlling spend via caching, routing, batching, compression, and step budgets without destroying quality.
- 89
AI Governance
Policies, roles, and review boards governing model selection, data use, eval evidence, and incident response.
- 90
Responsible AI
Principles and practices for fairness, transparency, safety, and accountability in generative systems.
Stage 15
Industry Certifications
Vendor exams that signal GenAI fluency. Pick by role, cloud, and whether you use, build, or lead.
6 concepts
- 91
Choosing Industry Certifications
Pick a credential by the job you want—using AI, building LLM systems, or leading adoption—not by whichever exam is trending this quarter.
- 92
AWS Certified AI Practitioner
Foundational AWS credential covering AI, ML and generative AI concepts, use cases, and responsible use on Amazon Web Services—without requiring you to build models.
- 93
Microsoft Azure AI Engineer Associate
Associate credential for engineers who design and implement Azure AI solutions—generative AI, agents, search, vision, and language—using Azure AI services.
- 94
Google Cloud Generative AI Leader
Google Cloud credential for leaders who need to explain generative AI value, choose Google Cloud offerings, and govern responsible adoption without writing production pipelines.
- 95
Databricks Generative AI Engineer Associate
Proctored Databricks credential for designing and deploying LLM applications—especially RAG—using Model Serving, MLflow, Vector Search, and Unity Catalog.
- 96
NVIDIA Generative AI LLMs Associate
NVIDIA-Certified Associate (NCA-GENL) exam on foundational generative AI and LLM concepts for developing and maintaining applications with NVIDIA solutions.