Model constructor

Model({
  1. required String name,
  2. required String baseModelId,
  3. required String version,
  4. String displayName = '',
  5. String description = '',
  6. int inputTokenLimit = 0,
  7. int outputTokenLimit = 0,
  8. List<String> supportedGenerationMethods = const [],
  9. double? temperature,
  10. double? maxTemperature,
  11. double? topP,
  12. int? topK,
  13. bool thinking = false,
})

Implementation

Model({
  required this.name,
  required this.baseModelId,
  required this.version,
  this.displayName = '',
  this.description = '',
  this.inputTokenLimit = 0,
  this.outputTokenLimit = 0,
  this.supportedGenerationMethods = const [],
  this.temperature,
  this.maxTemperature,
  this.topP,
  this.topK,
  this.thinking = false,
}) : super(fullyQualifiedName);