Skip to main content

stream_text

Function stream_text 

Source
pub fn stream_text(model: impl Into<LanguageModelRef>) -> StreamText<()>
Expand description

Starts building a streaming text generation call.

The builder is a future: .await starts the pipeline and resolves once the first model request has been established (or failed after retries).