Skip to content

Commit 1e21eaa

Browse files
committed
Revise workshop chapters for clarity, structure, and user engagement
- Updated chapter titles for consistency and clarity across all chapters. - Enhanced learning objectives and prerequisites to guide readers effectively. - Improved formatting and readability throughout chapters, including better spacing and organization of content. - Incorporated actionable insights and real-world examples to enhance user understanding and engagement. - Emphasized the importance of feedback mechanisms and performance metrics in RAG systems.
1 parent 3e36a41 commit 1e21eaa

File tree

14 files changed

+693
-224
lines changed

14 files changed

+693
-224
lines changed

docs/workshops/chapter0.md

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
11
---
2-
title: "Beyond Implementation to Improvement: A Product Mindset for RAG"
2+
title: "0. Beyond Implementation to Improvement"
33
description: Rethinking RAG as a continuously evolving product rather than a static implementation
44
authors:
55
- Jason Liu
66
date: 2025-02-28
77
tags:
8-
- product thinking
8+
- product-thinking
99
- systems
10-
- RAG
10+
- rag
1111
- fundamentals
1212
- improvement
1313
---
1414

1515
# Beyond Implementation to Improvement: A Product Mindset for RAG
1616

17-
Look, I've been building AI systems for over a decade, and I keep seeing the same mistake: teams ship a RAG system, pat themselves on the back, and then watch it slowly fail in production.
17+
## Learning objectives
18+
19+
- Adopt a product mindset for RAG (continuous improvement vs one-off build)
20+
- Reframe RAG as a recommendation engine with feedback
21+
- Understand the improvement flywheel used across chapters
22+
23+
Look, I've been building AI systems for over a decade, and I keep seeing the same mistake: teams ship a RAG system, pat themselves on the back, and then watch it slowly fail in production.
1824

1925
This chapter is about avoiding that trap. We're going to talk about why the most successful RAG systems aren't the ones with the fanciest embeddings or the biggest context windows—they're the ones that get better every week based on what users actually do with them.
2026

2127
Here's what we'll cover:
28+
2229
- Why thinking of RAG as a "project" instead of a "product" dooms most implementations
2330
- How to steal ideas from recommendation systems (because that's really what RAG is)
2431
- A practical framework for turning user frustration into system improvements
@@ -37,13 +44,15 @@ I've built AI systems at Facebook, Stitch Fix, and worked with companies like Hu
3744
Here's a quick way to tell which mindset a team has:
3845

3946
**Implementation Mindset:**
40-
- "We need to implement RAG"
47+
48+
- "We need to implement RAG"
4149
- Obsessing over embedding dimensions and context windows
4250
- Success = it works in the demo
4351
- Big upfront architecture decisions
4452
- Focus on picking the "best" model
4553

4654
**Product Mindset:**
55+
4756
- "We need to help users find answers faster"
4857
- Tracking answer relevance and task completion
4958
- Success = users keep coming back
@@ -129,7 +138,7 @@ What's great about this is that it compounds. More data leads to better insights
129138

130139
### Optimizing Feedback Collection
131140

132-
**A quick story about feedback:** We spent weeks at one company getting almost no user feedback. Then we changed the prompt from "How did we do?" to "Did we answer your question?" Feedback rates went up 5x overnight.
141+
**A quick story about feedback:** We spent weeks at one company getting almost no user feedback. Then we changed the prompt from "How did we do?" to "Did we answer your question?" Feedback rates went up 5x overnight.
133142

134143
Here's what actually works:
135144

@@ -184,14 +193,17 @@ Without a systematic approach, teams face significant challenges:
184193
Here's what happens in real meetings:
185194

186195
**"Make the AI better"**
196+
187197
- Without a system: Everyone looks nervous, suggests random ideas
188198
- With a system: "Our top failure mode is date-related queries at 23% error rate. Here's our plan."
189199

190200
**"Where should we focus engineering time?"**
201+
191202
- Without a system: Whoever argues loudest wins
192203
- With a system: "42% of failures are inventory problems. Let's start there."
193204

194205
**"Is this new embedding model worth it?"**
206+
195207
- Without a system: "The benchmarks look good?"
196208
- With a system: "It improves our technical documentation queries by 15% but hurts on short questions. Not worth it."
197209

@@ -215,7 +227,7 @@ The shift from engineer to product thinker is subtle but powerful. Here's how yo
215227

216228
This shift doesn't mean abandoning technical rigor. It means applying that rigor to problems that actually matter to your users, guided by data instead of assumptions.
217229

218-
**Quick story:** A restaurant chain spent months perfecting their voice AI's speech recognition. Then someone actually listened to the call recordings. Turns out 30% of callers were asking "What's good here?"
230+
**Quick story:** A restaurant chain spent months perfecting their voice AI's speech recognition. Then someone actually listened to the call recordings. Turns out 30% of callers were asking "What's good here?"
219231

220232
They added a simple feature: when someone asks that, the AI recommends the three most popular items. Revenue went up 9%. They didn't improve the AI at all—they just paid attention to what people actually wanted.
221233

@@ -232,6 +244,7 @@ Let me walk you through how this played out with a legal tech company I worked w
232244
**Step 3:** Shipped it and watched what lawyers actually did. Added thumbs up/down buttons and tracked what they copied.
233245

234246
**Step 4:** After 2 months and 5,000 queries, patterns emerged. Three main query types:
247+
235248
- Case citations (worked great)
236249
- Legal definitions (OK)
237250
- Procedural questions (total failure)
@@ -245,12 +258,14 @@ End result: lawyers actually started using the system. Research time dropped 40%
245258
**Pro tip:** When something's not working, first ask: "Is this an inventory problem or a capabilities problem?"
246259

247260
**Inventory problem:** You don't have the answer in your knowledge base
261+
248262
- Missing documents
249263
- Outdated info
250264
- Gaps in coverage
251265
- Fix: Add more/better content
252266

253267
**Capabilities problem:** You have the answer but can't find it
268+
254269
- Bad retrieval
255270
- Wrong search strategy
256271
- Can't understand the query
@@ -261,13 +276,14 @@ I've seen teams waste months improving retrieval when they simply didn't have th
261276
## Who This Is For
262277

263278
Based on who's shown up to my workshops, you're probably:
279+
264280
- A technical leader trying to figure out why your RAG system isn't getting better
265281
- An engineer who built a RAG system and is now stuck maintaining it
266282
- Part of a team (engineering, data science, product) trying to make AI actually useful
267283

268284
I've taught this to teams at tiny startups and big tech companies. The problems are surprisingly similar—everyone's trying to move from "we built RAG" to "our RAG system gets better every week."
269285

270-
## What's Coming Next
286+
## What’s next
271287

272288
Each chapter builds on the last, taking you through the complete improvement flywheel. Everything includes code and examples you can steal for your own projects.
273289

@@ -309,6 +325,13 @@ Here's what changes when you get this right:
309325

310326
The difference is night and day. Teams without a system spin their wheels. Teams with a system ship improvements every week.
311327

328+
## Summary
329+
330+
- Treat RAG as a product with a continuous improvement flywheel
331+
- Focus on leading metrics (experiments, retrieval precision/recall)
332+
- View RAG as a recommendation engine wrapped around an LLM
333+
- Build feedback loops and monitoring from day one
334+
312335
## Reflection Questions
313336

314337
As you prepare for the next chapter, consider these questions about your current approach to RAG:
@@ -331,6 +354,6 @@ _Note: I've used this approach with companies across legal, finance, healthcare,
331354

332355
---
333356

334-
IF you want to get discounts and 6 day email source on the topic make sure to subscribe to
357+
If you want to get discounts and 6 day email source on the topic make sure to subscribe to
335358

336359
<script async data-uid="010fd9b52b" src="https://fivesixseven.kit.com/010fd9b52b/index.js"></script>

0 commit comments

Comments
 (0)