SwiftfuncFoundationModelsFoundationModels.GenerationOptions.SamplingMode

random

static FoundationModels.GenerationOptions.SamplingMode.random(top: Int, seed: UInt64?) -> FoundationModels.GenerationOptions.SamplingMode

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

param{}

  1. 0top:
    structSwift.Int
  2. 1seed: