toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'temperature': temperature,
    'max_tokens': maxTokens,
    'top_p': topP,
    // 'unknown': choicesCount,
    // 'stream': stream,
    'stop': stop,
  };
}