GoogleCloudDialogflowCxV3GeneratorModelParameter.fromJson constructor

GoogleCloudDialogflowCxV3GeneratorModelParameter.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3GeneratorModelParameter.fromJson(core.Map json_)
  : this(
      maxDecodeSteps: json_['maxDecodeSteps'] as core.int?,
      temperature: (json_['temperature'] as core.num?)?.toDouble(),
      topK: json_['topK'] as core.int?,
      topP: (json_['topP'] as core.num?)?.toDouble(),
    );