AI.Core.StreamText (AI SDK v0.0.1-rc.0)

View Source

Core implementation for streaming text from language models.

This module handles the streaming functionality, including:

  • Processing the prompt and messages
  • Setting up the stream
  • Handling streaming events from the model

Summary

Functions

Stream text from a language model.

Functions

stream_text(options)

Stream text from a language model.

This is the core implementation that AI.stream_text/1 calls.