Skip to content
Y
yTube.SITE v8.0.4
media / worlds / tools / internet oddities
YouTube / video information

Engineering a memory for chatbots and beyond

Video information, playback and saved actions.

Engineering a memory for chatbots and beyond

Description: What do chatbots and humans have in common? We both forget. The difference is: humans forget gracefully — chatbots forget everything, every single time.

This is my full ~11-minute talk from BED-CON 2026 (FU Berlin, Henry-Ford-Bau, September 2026) — re-recorded in my home studio, with proper captions, memes and questionable humor.

You'll learn:
- Why context is what separates a "stupid clanker" from a useful assistant — and why it always decays
- Six ways to inject knowledge into an LLM: user messages, classic RAG, agentic tools, persistent context, fine-tuning, continued pre-training — and which ones are economically viable today
- The definition of the "right" knowledge: vague-but-contextual, exact-and-specific, and current-truth queries
- Why in e-commerce speed IS the feature — and why classic RAG beats the agentic loop when the customer has 1–2 seconds of patience
- What's actually inside an embedding vector: 768 dimensions, anti-values, and why a plane and a flying carpet are neighbors
- How HNSW (Hierarchically Navigable Small World) powers million-scale vector search
- Why reranking alone can't fix stale knowledge: obsolete but semantically-close facts still rank on top
- MadCat: time-aware memory decay — finalScore = vectorScore × (0.5 + recency×0.3 + priority×0.2) — so today's answer rises, the five-day-old one survives because it matters, and the two-week-old one quietly sinks
- HNSDW: pushing decay directly inside the KNN walk

Forgetting is not an issue. It's a design choice.

⏱ Timestamps:
0:00 From RAG to Memory Decay — we both forget
0:44 The difference between a "stupid clanker" and a useful assistant
0:54 Context window amnesia: every LLM starts from nothing
1:53 Injecting the knowledge: six ways, from cheap to steep
2:24 The definition of «right»: three query patterns
3:14 How fast do you require knowledge? (e-commerce ⇒ RAG)
3:50 Vector databases: what's inside an embedding
6:11 HNSW: the workhorse of vector search — and the stale-context problem
7:19 Reranking (MadCat): the time-aware decay formula
9:46 HNSW ⇒ decay inside the KNN walk
10:01 Wrap up: forgetting is a design choice

🔗 MadCat (the code):
https://gitlab.com/cabalbl4/madcat

💼 Connect with me on LinkedIn:
https://www.linkedin.com/in/cabalbl4

Thank you for spending your memory on this idea. It's worth every token.

#RAG #LLM #VectorSearch #AI #GenerativeAI #ML #AIagents Close description
      
Videos related to "Engineering a memory for chatbots and beyond"