Streaming Multimodal Interaction › Duplex Generation
Language AI HandbookAll chapters Streaming input and output can run concurrently at the transport layer even when the model decides in turns. A duplex conversational model can use new input while generating its ongoing response. It can change subsequent output, with a delay determined by its media frame, encoder, generation and playback boundaries. Already played content remains part of the interaction.
Moshi models the user's speech and its own speech in parallel streams. It is an example of a model design that incorporates interaction timing. A deployment can also implement interruption with a front-end detector and an explicit control protocol, even if its generator produces one response at a time. Reporting which mechanism was used prevents a playback cancellation feature from being confused with model-level conditioning.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!