Design: permission-aware answers

Lesson 22 of 26 · Full designs · 3 min Get the course to watch

Here is the failure that ends enterprise deals. An intern asks Lumen about salaries, and the answer quotes a confidential spreadsheet they cannot open. The model did nothing wrong.

The retrieval layer handed it a passage it should never have seen. So the requirement is blunt: a person must never be shown content, or an answer derived from content, that they could not open themselves.

The rest of this lesson

  • Requirements
  • The design
  • Choices and what we rejected
  • Retrieval details
  • What we would watch
  • The idea to keep

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with System design for senior engineers, AI systems included.