Visual ExplainerVisual Explainer
HomeProjectsSubscribeAbout
Visual ExplainerVisual Explainer
HomeProjectsSubscribeAbout
All Tutorials

AI Tutorials

6 tutorialstagged with “AI”

AIAgentsAlgorithmsAnimationAsyncBox ModelCSSClosuresCryptographyDNSDOMData StructuresEmbeddingsEncryptionGenericsGitGridHTTPSHash TablesHooksInfrastructureJavaScriptLLMLayoutMemoryNLPNetworkingPerformancePrompt EngineeringRAGReactResponsiveRuntimeSSHSecuritySelectorsTCP/IPTransformersTypeScriptVersion Control
How Embedding Models Are Trained
Interactive
AIEmbeddingsNLPRAG

How Embedding Models Are Trained

Deep-dive into embedding models — from one-hot encoding to contrastive learning, why "king − man + woman = queen" works geometrically, Matryoshka embeddings, math foundations, and production applications in RAG and semantic search with interactive demos.

50 min readIntermediate
Prompt Engineering — Real Life Use Cases
Interactive
AIPrompt EngineeringLLM

Prompt Engineering — Real Life Use Cases

Master prompt engineering from first principles. Interactive guide covering prompt anatomy, types, chain-of-thought, temperature tuning, and a live AI playground.

35 min readIntermediate
Transformer Explainer: How LLMs Work
Interactive
AITransformersLLM

Transformer Explainer: How LLMs Work

A visual, step-by-step walkthrough of the Transformer architecture — from tokenization to next-token prediction. See attention heads, embeddings, and MLPs in action.

25 min readIntermediate
KV Cache Explained
Interactive
AILLMPerformanceInfrastructure

KV Cache Explained

Understand how KV caching makes LLM inference fast and cheap — transformer attention mechanics, prompt prefix caching, Anthropic vs OpenAI implementations, PagedAttention, and GPU memory optimization with interactive demos.

35 min readIntermediate
How Prompt Injection Attacks Work
Interactive
AISecurityLLMPrompt Engineering

How Prompt Injection Attacks Work

Understand prompt injection from trust boundaries to real CVEs — direct injection, indirect multi-hop attacks, hidden content techniques, real-world examples, and defense-in-depth strategies with interactive demos.

35 min readIntermediate
How AI Agent Memory Works
Interactive
AIAgentsMemoryRAG

How AI Agent Memory Works

Deep-dive into AI agent memory — why stateless agents fail, the four memory types, conversation strategies, Mem0 internals, and conflict resolution with interactive demos.

45 min readIntermediate