Streaming
A transmission method in which a large language model generates a response token by token and pushes it to the client in real time. It substantially reduces time to first token and improves the experience of chat-based interaction.
Timeline (last 90 days)
Streaming output lets TTS start speaking as early as possible to reduce first-word latency, but a side effect is that the model may self-correct during generation, causing repetitions or contradictions in already-output content.
The repeated "you have two to-do's" in the Notion announcement in the demo may have been the model reconfirming earlier wording during streaming generation; developers usually need to add buffering or post-processing logic before TTS to filter out repeated segments.
Streaming can significantly improve perceived user experience by reducing time-to-first-byte, even if the total generation time remains unchanged.
Streaming allows the server to progressively push tokens to the client during generation, achieving a typewriter-like character-by-character appearance effect, thereby reducing perceived wait time.
Streaming responses push model tokens to the client incrementally via Server-Sent Events or WebSocket, which can improve perceived latency.
When streaming output is interrupted, it is acceptable for the streaming output itself to be aborted, but the entire conversation history must be fully preserved, requiring an independent session storage mechanism to be maintained concurrently with the streaming transmission
All Facts (7)
Streaming allows the server to progressively push tokens to the client during generation, achieving a typewriter-like character-by-character appearance effect, thereby reducing perceived wait time.
70%UnverifiedStreaming output lets TTS start speaking as early as possible to reduce first-word latency, but a side effect is that the model may self-correct during generation, causing repetitions or contradictions in already-output content.
50%UnverifiedThe repeated "you have two to-do's" in the Notion announcement in the demo may have been the model reconfirming earlier wording during streaming generation; developers usually need to add buffering or post-processing logic before TTS to filter out repeated segments.
50%UnverifiedStreaming can significantly improve perceived user experience by reducing time-to-first-byte, even if the total generation time remains unchanged.
50%UnverifiedStreaming responses push model tokens to the client incrementally via Server-Sent Events or WebSocket, which can improve perceived latency.
50%UnverifiedWhen streaming output is interrupted, it is acceptable for the streaming output itself to be aborted, but the entire conversation history must be fully preserved, requiring an independent session storage mechanism to be maintained concurrently with the streaming transmission
50%UnverifiedThe correct billing implementation for streaming responses should only charge once at the end of the stream based on the final usage field, or only accumulate the incremental token count of each chunk.
50%