35 lines
997 B
C#
35 lines
997 B
C#
using xModels.Base;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace xAiModels.Models.Entities
|
|
{
|
|
public class XAiVector : XBaseGuidIDEntity
|
|
{
|
|
/// <summary>
|
|
/// Thge Content Which Embedded ...
|
|
/// </summary>
|
|
public string Text { get; set; }
|
|
|
|
/// <summary>
|
|
/// Doc and Chunk Identifier ...
|
|
/// </summary>
|
|
public string Identifier { get; set; }
|
|
|
|
/// <summary>
|
|
/// Knowledge Base Type / Domain (e.g. "Legal", "Medical") ...
|
|
/// Used for Filtering on Search and Retrieve ...
|
|
/// </summary>
|
|
[StringLength(100)]
|
|
public string Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// a Json String which Represents IReadOnlyList of float ...
|
|
/// </summary>
|
|
public string Embedding { get; set; }
|
|
|
|
/// <summary>
|
|
/// a Json String Which Represents MetaData ...
|
|
/// </summary>
|
|
public string Metadata { get; set; } = string.Empty;
|
|
}
|
|
} |