// 72 cards · 10 categories
Cheatsheets.
Every formula, metric and rule from the course on one page, grouped by category. Filter to what you're revising, or print it.
Core concepts
The big ideas, each in a sentence or two.
What an LLM does
Roles
Knowledge or behaviour?
Why RAG
MCP
EU AI Act for assistants
Formulas and numbers
Cost, similarity, chunking, fusion and metric formulas.
Tokens and words
Latency
Cosine similarity
Vector storage
Reciprocal rank fusion
Noise in a small eval
Recall@k and precision@k
MRR
Routing cost
Prompting
Prompts, roles and structured output that hold up in production.
Structured output recipe
Semantic search
Embeddings, chunking, vector indexes and ranking.
Chunking defaults
Chunk metadata
HNSW in one line
Two-stage retrieval
RAG
Pipelines, prompts, debugging and upgrades.
Indexing pipeline (offline)
Query pipeline (online)
RAG prompt rules
Context layout
The first debugging question
Query rewriting
Tools and agents
Tool calling, workflows, agent loops and safety.
The tool-calling loop
Good tool design
Workflow patterns
Agent checklist
Stopping conditions
Context management
Prompt injection
The lethal combination
Evals
Eval sets, retrieval metrics, judges and production evaluation.
Error analysis
What an eval is
Eval set recipe
Judge prompt rules
Judge biases
RAG metrics
Agent metrics
Production
Architecture, cost, compliance, observability and handover.
Where RAG money goes
Failure handling
Keys stay on the server
Prompt caching
Client data questions
GDPR checklist
What a trace records
Safe changes
Handover pack
Comparisons
Side-by-side differences between ideas that are easy to mix up.
Prompting vs RAG vs fine-tuning
Keyword vs semantic search
pgvector vs vector database
Bi-encoder vs cross-encoder
Multi-query vs HyDE
Workflow vs agent
Faithful vs correct
Request vs queue
Common traps
Mistakes that cost clients money or trust, and the correct approach.
The model has no memory
Schema ≠ truth
"Train it on our docs"
One space per model
Fake citations
Prompt-tweaking retrieval bugs
Prompt is not access control
Uncaught tool errors
Prompts are not security
Agreement is not enough
Semantic cache collisions