toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxDecodeSteps != null) 'maxDecodeSteps': maxDecodeSteps!,
      if (temperature != null) 'temperature': temperature!,
      if (topK != null) 'topK': topK!,
      if (topP != null) 'topP': topP!,
    };