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

View Source

Core implementation for generating text using language models.

This module handles the actual text generation functionality, including:

  • Processing the prompt and messages
  • Handling tool calls
  • Processing the model response

Summary

Functions

Generate text using a language model.

Functions

generate_text(options)

Generate text using a language model.

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