Serializes this configuration to a Map for passing over the platform channel.
Map<String, dynamic> toMap() { return { 'maxTokens': maxTokens, 'temperature': temperature, 'useGPU': useGPU, }; }