14 lines
328 B
C#
14 lines
328 B
C#
using Azure.AI.OpenAI;
|
|
using Newtonsoft.Json;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace BotSharp.Plugin.ChatbotUI.ViewModels;
|
|
|
|
public class OpenAiChoice
|
|
{
|
|
[JsonPropertyName("finish_reason")]
|
|
[JsonProperty("finish_reason")]
|
|
public string FinishReason { get; set; }
|
|
public ChatMessage Delta { get; set; }
|
|
}
|