A city guide whose five cards are written by five concurrent Prompt API
sessions. Each one pipes its answer into its card's
streamHTML(), which runs every chunk through the Sanitizer
API, in whatever order the answers arrive. Follow-up questions stream
the same way. Read more in
Declarative partial updates.
The model needs to be downloaded, which requires a user gesture.
This browser doesn't support the Prompt API. Try Chrome with built-in AI enabled.