GoogleCloudDialogflowV2InferenceParameter.fromJson constructor
GoogleCloudDialogflowV2InferenceParameter.fromJson(
- Map json_
Implementation
GoogleCloudDialogflowV2InferenceParameter.fromJson(core.Map json_)
: this(
maxOutputTokens: json_['maxOutputTokens'] as core.int?,
temperature: (json_['temperature'] as core.num?)?.toDouble(),
topK: json_['topK'] as core.int?,
topP: (json_['topP'] as core.num?)?.toDouble(),
);