Streaming UIs
Stream model output into the UI smoothly, accessibly and cancellably.
- AIF.01.01How LLM streaming works on the wireCoreMid-levelBeing written
- AIF.01.02Parsing and rendering token streamsCoreMid-levelBeing written
- AIF.01.03Latency, errors and accessibility of streamingMid-levelBeing written
Interview questions in this module
- How would you stream an LLM response into a React UI?
- Why should the browser not call the LLM provider directly?
- How do you handle a stream that fails halfway?
- How do you keep auto-scroll from fighting a user who scrolls up?
- How do you make streaming text accessible to screen-reader users?
- How do you render markdown that arrives token by token without re-parsing everything?