Chapter 2. Architecting for Real-Time AI Interaction
For decades, science fiction has set the expectations of our future with AI: a seamless, spoken conversation with an intelligent companion. We dreamed of the sophisticated computer from Star Trek or the helpful wit of Robby the Robot. But, for years, the actual experience with the first generation of voice assistants fell short of our expectations. We expected to be able to converse with computers to accomplish tasks. Instead, we got a glorified command-line experience. We were promised a conversation, but what we got was a rigid, unforgiving command line that forced us to learn its language.
This chapter is about finally building the future we expected.
We will begin by dissecting the limitations of the first generation and exposing their fundamental architectural flaw—the rigid, turn-based model—that made true conversation impossible. We will then explore the two technological pillars that shattered that old paradigm: the Transformer architecture ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access