17 lines
368 B
C#
17 lines
368 B
C#
using System.Text.Json;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Serialization;
|
|
|
|
namespace Nop.Plugin.Misc.FruitBankPlugin.Models
|
|
{
|
|
public class AIChatMessage
|
|
{
|
|
[JsonProperty("role")]
|
|
public string Role { get; set; } = string.Empty;
|
|
[JsonProperty("content")]
|
|
public string Content { get; set; } = string.Empty;
|
|
}
|
|
|
|
}
|
|
|