strategy: Output Strategy System

strategyR Documentation

Output Strategy System

Description

Implements the Strategy pattern for handling different structured output formats from LLMs. This allows the SDK to be extended with new output types (e.g., objects, enums, dataframes) without modifying core logic.


aisdk documentation built on May 29, 2026, 9:07 a.m.