SeemGen/Models/Message.cs

17 lines
338 B
C#

using System.Text.Json;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace BLAIzor.Models
{
public class Message
{
[JsonProperty("role")]
public string Role { get; set; } = string.Empty;
[JsonProperty("content")]
public string Content { get; set; } = string.Empty;
}
}