Model constructor
Model({
- required String name,
- required String baseModelId,
- required String version,
- String displayName = '',
- String description = '',
- int inputTokenLimit = 0,
- int outputTokenLimit = 0,
- List<
String> supportedGenerationMethods = const [], - double? temperature,
- double? maxTemperature,
- double? topP,
- int? topK,
- 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);