Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Streaming

In plain words

Showing the answer word by word as it is written, instead of waiting for the whole thing.

The fuller definition

Streaming delivers output incrementally rather than waiting for the entire result to finish.

How it fits together
  1. Start

    Request accepted

  2. Chunks

    Partial output arrives

  3. End

    Completion or error

A simplified relationship, not a screenshot or a complete design.

A concrete example

A chat interface displays generated text as it arrives in chunks.

The distinction that matters

An incomplete streamed response may not yet be valid JSON or a complete answer; cancellation needs handling.

Related terms

Where it is taught

APIs and JSON: connect a model to a small program

Source and further reading

MDN · Web technology glossary

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC