last ...
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user