Inference is the main facade for text generation and structured outputs.
Use it for one-off calls, provider switching, and streaming.
Quick Start
Use a Specific Preset
Presets come fromconfig/llm.php.
Quick, practical patterns for running inference with Polyglot.
Inference is the main facade for text generation and structured outputs.
Use it for one-off calls, provider switching, and streaming.
config/llm.php.