toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'maxLength': maxLength,
    'stopSequences': stopSequences,
    'temperature': temperature,
    'topK': topK,
    'topP': topP,
  };
}