Visualizers
Ten interactive labs for the ideas that are hardest to grasp from prose alone. Everything runs in your browser, so you can break it, retune it and build intuition before the interview asks you to explain it.
Tokenizer playground
Models never see characters — they see sub-word tokens. Type anything and watch how words split, and how cost is really measured.
Temperature, top-k and top-p
Same model, same logits — only the sampling knobs change. Watch which candidate tokens survive truncation.
Attention heatmap
Pick a query token. Each earlier token is shaded by how much the query pulls from it — and nothing after it is visible, because decoding is causal.
KV cache calculator
Decoding memory is dominated by the key-value cache, not the weights. Move the sliders to see why long context caps concurrency.
Embedding space and cosine similarity
A toy two-dimensional embedding space. Pick an anchor word and see which words point in the same direction.
Chunking lab
Slide the chunk size and overlap over a real support document and watch what each chunk would look like in the index.
Payment webhooks are retried with exponential backoff for up to 24 hours. Every delivery carries an idempotency key in the header, and the same key is reused across retries. Consum
ame key is reused across retries. Consumers must therefore treat delivery as at-least-once and store processed keys. If a webhook is rejected with a 5xx response, the retry schedul
d with a 5xx response, the retry schedule restarts. A 4xx response is treated as a permanent failure and the event is moved to the dead letter queue, where it can be replayed manua
er queue, where it can be replayed manually from the dashboard for seven days.
Approximate nearest neighbour search
Click anywhere to move the query vector. Increase the probe budget to explore more of the index and watch recall recover.
Green points were returned by the approximate search. Red points are true nearest neighbours that were missed — exactly the silent quality loss you cannot see without ground-truth recall measurement.
RAG pipeline walkthrough
Step through a production retrieval pipeline stage by stage and watch the token budget being consumed.
Resolve pronouns and history into a standalone query, optionally fan out into variants.
Agent loop, step by step
A ReAct-style trace: reason, act with a tool, observe, repeat — under a hard step budget, with confirmation before any side effect.
The user asks why invoice 8891 was not paid. I need the invoice record first.
Cost model
Estimate the monthly bill of an LLM feature, and see how much prompt caching and shorter outputs are actually worth.