Files
xAiModels/Models/Dtos/XAiVectorDto.cs
T
2026-10-21 17:54:52 +03:30

32 lines
861 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>
/// 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;
}
}