AISim › Chapter 2: Making it good

"It feels slow"

Level 7. Users stare at a spinner for eight seconds.

Answers are good, but users bounce before they arrive. You run the large model on everything and an Output Judge checks every answer before it ships. Product wants the first words on screen in under a second, without letting hallucinations climb.

Goals

Concepts: Streaming, Time to first token.

Hint

Turn on streaming and watch first-token time. Why doesn't it move? Something downstream has to read the whole answer first. What can replace it on the quality side?

What you learn

Perceived speed is time to first token, and streaming is the biggest lever. But anything that must read the full answer first, like an output judge, silently cancels streaming. Here better retrieval protects quality up front, so the model can stream straight to the user.

More in this chapter

This interactive level needs JavaScript. Built by (cybernerdie).