
The 808 Books / Ready for Real / Chapter 3
Retrieval done right
Most business AI answers questions by looking things up in your documents first. Get the lookup wrong and nothing else matters.
The short version
- Retrieval (often called RAG, short for retrieval-augmented generation) means the AI searches your documents, then answers from what it found. It's how most company assistants work.
- Four things break it in production: people seeing what they shouldn't, stale content, documents chopped up badly, and bad sources ranking above good ones.
- Check permissions before anything reaches the AI, update the index when documents change, keep tables and headings intact, and make it cite its sources.
By the numbers
20% to 80%the share of the firm's documents Morgan Stanley's advisors could reach once its tested retrieval assistant was in place (OpenAI case study)
98%of Morgan Stanley's advisor teams actively use the assistant ([OpenAI](https://openai.com/index/morgan-stanley/); vendor case study)
No. 2sensitive information disclosure's rank in OWASP's 2025 list of the top risks for AI applications, behind only prompt injection (Invicti, summarizing OWASP 2025)
01 Permissions: check before the AI sees it
This is my home turf. I've spent years explaining identity and access to CIOs, including some who didn't yet have single sign-on, and the conversation always comes back to one idea: the system should only ever see what the person asking is allowed to see. AI doesn't change that rule. It makes breaking it much more visible.
The easiest way to build a pilot is to index everything under one powerful account. It's also the fastest way to fail a security review. If the index can see salary bands and HR files, so can anyone who asks the right question. That's how Priya's clerk ended up holding a driver's disciplinary note.
The fix is to carry each document's access rules into the index and filter every search by the person asking, before any text reaches the AI. Don't rely on the AI to politely hold back what's already in front of it. It won't. Ask your vendor or platform team one question: "Does search filter by the user's own permissions, and how quickly do permission changes reach the index?" If the answer is vague, that's your gap. If the answer is "the AI is told not to share it," that's a bigger gap.
One subtle risk: even when each document is allowed, the AI can combine pieces from several of them into a conclusion the user wasn't meant to reach. For sensitive areas (HR, M&A, legal), keep them out of general-purpose assistants entirely.
The rest of this chapter is for Pro members
Keep reading with Pro, C$10 a month.
You’ve read the first section. Pro opens every chapter of all seven 808 Books, their print editions as PDFs, and every guide in the library.
- 02 Freshness: update when the document changes
- 03 Chunking: don't cut the table in half
- 04 Source quality: official beats popular
- The exercise and template
- The chapter check
- Sources