GenerationConfig.fromJson constructor
Implementation
factory GenerationConfig.fromJson(Map<String, dynamic> json) {
return GenerationConfig(
temperature: json['temperature'],
maxOutputTokens: json['maxOutputTokens'],
topP: json['topP'],
topK: json['topK'],
stopSequences: json['stopSequences'],
);
}