GenerationSettings constructor
const
GenerationSettings({})
Creates generation settings. All parameters are optional and fall back to conservative defaults.
Implementation
const GenerationSettings({
this.temperature = 0.7,
this.topK = 40,
this.topP = 0.9,
this.maxTokens = 128,
this.repeatPenalty = 1.1,
});