Contents

SampleGenerator.SamplingStrategy

The values that define how the generator selects existing samples as examples in the generation prompt.

Declaration

enum SamplingStrategy

Overview

When a model repeats an inference, the strategy determines whether and how the generator retries with different examples.

Topics

Strategies

See Also

Configuring generation