Generation Options

Generation Options#

This page documents the classes for controlling how the model generates responses.

Note

Swift Equivalent: This Python API corresponds to the GenerationOptions structure in the Swift Foundation Models Framework.

GenerationOptions#

SamplingMode#