BotSharp/src/Plugins/BotSharp.Plugin.ChatbotUI/ViewModels/OpenAiChoice.cs

14 lines
358 B
C#
Raw Normal View History

2023-07-21 20:15:09 +00:00
using BotSharp.Abstraction.Conversations.Models;
2023-06-08 03:43:16 +00:00
using Newtonsoft.Json;
2023-05-27 01:58:31 +00:00
using System.Text.Json.Serialization;
2023-06-07 00:59:32 +00:00
namespace BotSharp.Plugin.ChatbotUI.ViewModels;
2023-05-27 01:58:31 +00:00
public class OpenAiChoice
{
[JsonPropertyName("finish_reason")]
2023-06-08 03:43:16 +00:00
[JsonProperty("finish_reason")]
2023-05-27 01:58:31 +00:00
public string FinishReason { get; set; }
2023-07-21 20:15:09 +00:00
public RoleDialogModel Delta { get; set; }
2023-05-27 01:58:31 +00:00
}