Replicate
Replicate logoReplicate · Feature trail

Language Model Streaming Output

1 post · Aug 2023

What this trail covers

Replicate now supports server-sent event streams for language models, allowing for live, word-by-word updates in applications. This feature is integrated into the API and client libraries, enabling developers to build more interactive experiences like chat applications. The post details how to enable streaming for predictions, provides Node.js and cURL examples, lists supported models, and explains how to add streaming support to custom Cog models.

All Replicate trails