// ReSharper disable ClassNeverInstantiated.Global
namespace Dpz.Core.Service.Network.Models.XunFei;
public class XunFeiResponseChoices
{
/// <summary>
/// 文本响应状态,取值为[0,1,2];
/// 0 代表首个文本结果;
/// 1 代表中间文本结果;
/// 2 代表最后一个文本结果
/// </summary>
public int Status { get; set; }
/// <summary>
/// 返回的数据序号,取值为[0,9999999]
/// </summary>
public int Seq { get; set; }
public List<ChoicesText>? Text { get; set; }
public class ChoicesText
{
/// <summary>
/// AI的回答内容
/// </summary>
public string? Content { get; set; }
/// <summary>
/// 角色标识,固定为assistant,标识角色为AI
/// </summary>
public string? Role { get; set; }
public int Index { get; set; }
}
}