using System.Text.Json; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Nop.Plugin.Misc.FruitBankPlugin.Models { public class AIChatRequestBase { [JsonProperty("model")] public string Model { get; set; } = "gpt-4o-mini"; [JsonProperty("temperature")] public double Temperature { get; set; } = 0.2; [JsonProperty("messages")] public AIChatMessage[] Messages { get; set; } = Array.Empty(); [JsonProperty("stream")] public bool Stream { get; set; } = true; } }