LinkToolAddin/host/llm/entity/KnowldgeResult.cs
2025-05-14 00:54:06 +08:00

43 lines
1.2 KiB
C#

namespace LinkToolAddin.host.llm.entity
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public partial class KnowledgeResult
{
[JsonProperty("rewriteQuery")]
public string RewriteQuery { get; set; }
[JsonProperty("chunkList")]
public List<ChunkList> ChunkList { get; set; }
}
public partial class ChunkList
{
[JsonProperty("score")]
public double Score { get; set; }
[JsonProperty("imagesUrl")]
public List<object> ImagesUrl { get; set; }
[JsonProperty("documentName")]
public string DocumentName { get; set; }
[JsonProperty("titcontent", NullValueHandling = NullValueHandling.Ignore)]
public string Titcontent { get; set; }
[JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)]
public string Title { get; set; }
[JsonProperty("content", NullValueHandling = NullValueHandling.Ignore)]
public string Content { get; set; }
[JsonProperty("conten_score_with_weight", NullValueHandling = NullValueHandling.Ignore)]
public string ContenScoreWithWeight { get; set; }
}
}