toMap method
Serialises the settings to a Map for the platform channel.
Implementation
Map<String, dynamic> toMap() => {
'temperature': temperature,
'topK': topK,
'topP': topP,
'maxTokens': maxTokens,
'repeatPenalty': repeatPenalty,
};