using System;
using System.Collections.Generic;
using System.Linq;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Models
{
///
/// 表示 [POST] /openapi/nlp/news-abstraction/{TOKEN} 接口的响应。
///
public class OpenApiNLPNewsAbstractionResponse : WechatOpenAIResponse
{
public static class Types
{
public class Data
{
///
/// 获取或设置摘要提取的结果。
///
[Newtonsoft.Json.JsonProperty("abstraction")]
[System.Text.Json.Serialization.JsonPropertyName("abstraction")]
public string Result { get; set; } = default!;
///
/// 获取或设置是否适合提取摘要的分类标签。
///
[Newtonsoft.Json.JsonProperty("classification")]
[System.Text.Json.Serialization.JsonPropertyName("classification")]
public bool HasClassification { get; set; }
///
/// 获取或设置分值(范围:0~1)。
///
[Newtonsoft.Json.JsonProperty("prob")]
[System.Text.Json.Serialization.JsonPropertyName("prob")]
public double Score { get; set; }
}
}
}
}