All interactive labs
Interactive lab · Context engineering · 6 min
Pack a context window instead of stuffing it
Loading the 3D lab…
More labs
Embeddings
Fix a search that can't find the right passage
Support search returns the wrong policy. Queries and documents were embedded differently, so the query lands far from the passages that answer it.
6 minStart the lab
RAG
Stop a RAG pipeline citing the wrong text
Answers cite text that doesn't contain the answer. Chunking cuts facts in half, and vector-only search misses exact policy IDs.
7 minStart the lab
AI agents
Stop an agent looping forever
An agent keeps calling the same tool with reworded arguments. Nothing stops it, so it never answers and the bill keeps growing.
6 minStart the lab