Design a streaming response experience for a chat product.

Instruction: Describe how you would design streaming so it feels genuinely responsive.

Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Describe how you would design streaming so it feels genuinely responsive.

Updated

Official answer available

Read the opening below, then unlock the full answer and practical guidance.

I would define visible states such as waiting, searching, generating, complete, interrupted and failed. Show progress events only for work that actually started; do not present speculative text as a completed answer. Stream useful supported text when its evidence is ready, and keep complete structured tool arguments behind validation and authorization.

For a support answer, the UI can announce searching, display supported paragraphs, and mark completion only...

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions