Vibeleaderboard
← All Intel
Intel / article

Sidekicks Improved Streaming

Source
shopify.engineering
Author
Shopify Engineering
Date

Context

Shopify's Sidekick separates showing an answer from finishing every lookup behind it. Its streaming design lets the begin responding with placeholders that fill as supporting content arrives. The interface receives the main answer and those later results through one stream, placing each result in its designated area.

A small buffer also holds incomplete formatting, such as a link whose address has not finished arriving, until it can render correctly. Together, these mechanisms let users see progress without watching unfinished formatting turn into links or waiting for every external lookup before any response appears.

Terms in this piece · Glossary
  • streaming — Sending a model's response token by token as it is generated, so the reader sees text immediately instead of waiting for the whole answer.
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.
  • Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source shopify.engineering
More from Shopify Engineering
Recommended reads