Skip to content
mentoor

LLM features in the frontend

For engineers

Streaming UI, partial results, retries and honest affordances for AI features in a web app

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A streamed reply contains an accented character whose bytes are split across two network chunks. What prevents it from showing as a broken symbol?

Choose one answer

Check yourself · 2 of 5

An assistant streams a JSON object that your code parses to fill a form. When should the form fields update?

Choose one answer

Check yourself · 3 of 5

A user presses Stop while an answer streams. What should the interface show?

Choose one answer

Check yourself · 4 of 5

Which interface cue best helps a reader judge whether an AI answer can be trusted?

Choose one answer

Check yourself · 5 of 5

Tokens arrive about 80 times per second and the page stutters. Which change helps most?

Choose one answer

Topics

  1. Streaming tokens into the page4 min read · Rendering partial model output as it arrives without layout jumps, flicker or broken markdown
  2. Showing partial and uncertain results4 min read · Progressive disclosure, working states, and when to hold back an unfinished answer
  3. Retries, cancel and timeouts in the UI5 min read · What the user sees when a request fails, is cancelled or is retried behind the scenes
  4. Keeping the UI honest about the model4 min read · Labels, grounded uncertainty cues and edit affordances so people do not over-trust the output

Start here

110 questions · last verified 2026-12