namespace LinkToolAddin.host.llm.entity { using System.Collections.Generic; using Newtonsoft.Json; public partial class LlmJsonContent { [JsonProperty("model")] public string Model { get; set; } [JsonProperty("messages")] public List Messages { get; set; } [JsonProperty("stream")] public bool Stream { get; set; } = false; [JsonProperty("temperature")] public double Temperature { get; set; } = 0.7; [JsonProperty("top_p")] public double TopP { get; set; } = 1.0; [JsonProperty("max_tokens")] public int MaxTokens { get; set; } = 2048; [JsonProperty("top_k")] public int TopK { get; set; } = 40; } public partial class Message { [JsonProperty("role")] public string Role { get; set; } [JsonProperty("content")] public string Content { get; set; } } }