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