code: def setTopK(self, value):
      """Sets the number of highest probability vocabulary tokens to keep for
      top-k-filtering.
  
      Parameters
      ----------
      value : int
          Number of highest probability vocabulary tokens to keep
      """
      return self._set(topK=value)
  
imports: from pyspark.ml.param import Param, Params, TypeConverters
label_desc: Use image node_id 6 for calling a global function with example usage: setTopK(value) and returns: self