Files
2026-10-27 05:55:53 +03:30

37 lines
1021 B
C#

using System;
using xModels.Base;
using System.Collections.Generic;
namespace xAiModels.Models.Dtos
{
/// <summary>
/// Vector DTO for AI Vector data ...
/// </summary>
public class XAiVectorDto : XBaseGuidIDEntityDto
{
/// <summary>
/// Text content of the vector ...
/// </summary>
public string Text { get; set; }
/// <summary>
/// Doc and Chunk Identifier ...
/// </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>
public virtual ReadOnlyMemory<float> Embedding { get; set; } = null;
/// <summary>
/// Metadata associated with the vector ...
/// </summary>
public virtual Dictionary<string, string> Metadata { get; set; } = null;
}
}