This commit is contained in:
2026-10-27 05:55:53 +03:30
parent 90ce6842f6
commit 34539cd764
6 changed files with 84 additions and 6 deletions
+5
View File
@@ -19,6 +19,11 @@ namespace xAiModels.Models.Dtos
/// </summary>
public string Identifier { get; set; }
/// <summary>
/// Knowledge Base Type / Domain (Optional Filter on Search) ...
/// </summary>
public string Type { get; set; }
/// <summary>
/// Embedding vector representation ...
/// </summary>
+1
View File
@@ -8,6 +8,7 @@ namespace xAiModels.Models.Dtos
public Guid Id { get; set; }
public string Text { get; set; }
public float Score { get; set; }
public string Type { get; set; }
public string Identifier { get; set; }
public Dictionary<string, string> Metadata { get; set; } = null;
}
+8
View File
@@ -1,4 +1,5 @@
using xModels.Base;
using System.ComponentModel.DataAnnotations;
namespace xAiModels.Models.Entities
{
@@ -14,6 +15,13 @@ namespace xAiModels.Models.Entities
/// </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>