SamplerConfig constructor

SamplerConfig({
  1. double? temperature,
  2. int? topK,
  3. double? topP,
  4. double? minP,
  5. double? repeatPenalty,
  6. double? presencePenalty,
  7. double? frequencyPenalty,
  8. String? grammarString,
})

Implementation

SamplerConfig({
  this.temperature,
  this.topK,
  this.topP,
  this.minP,
  this.repeatPenalty,
  this.presencePenalty,
  this.frequencyPenalty,
  this.grammarString,
});