SwiftinitFoundationModelsFoundationModels.GenerationOptions

init

FoundationModels.GenerationOptions.init(sampling: FoundationModels.GenerationOptions.SamplingMode?, temperature: Double?, maximumResponseTokens: Int?) -> FoundationModels.GenerationOptions

Structure

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

param{}

  1. 0sampling:
  2. 1temperature:
  3. 2maximumResponseTokens: