This commit is contained in:
2026-10-21 17:54:52 +03:30
parent ae4b567bb3
commit c8ad34944a
10 changed files with 692 additions and 70 deletions
+18 -4
View File
@@ -1,13 +1,27 @@
using System;
using xModels.Base;
using System.Collections.Generic;
namespace xAiModels.Models.Entities
{
public class XAiVector : XBaseGuidIDEntity
{
/// <summary>
/// Thge Content Which Embedded ...
/// </summary>
public string Text { get; set; }
public ReadOnlyMemory<float> Embedding { get; set; }
public virtual Dictionary<string, string> Metadata { get; set; } = null;
/// <summary>
/// Doc and Chunk Identifier ...
/// </summary>
public string Identifier { 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;
}
}