toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final maxDecodeSteps = this.maxDecodeSteps;
  final temperature = this.temperature;
  final topK = this.topK;
  final topP = this.topP;
  return {
    'maxDecodeSteps': ?maxDecodeSteps,
    'temperature': ?temperature,
    'topK': ?topK,
    'topP': ?topP,
  };
}