ModelConfig constructor

const ModelConfig({
  1. int maxTokens = 256,
  2. double temperature = 0.7,
  3. bool useGPU = true,
})

Creates a ModelConfig with the given options.

All parameters are optional and have sensible defaults.

Implementation

const ModelConfig({
  this.maxTokens = 256,
  this.temperature = 0.7,
  this.useGPU = true,
});