using System; using System.ComponentModel.DataAnnotations; using xModels.Base; namespace xAiModels.Models.Entities { /// /// Represents an embedd document in the AI system. /// public class XAiDocument : XBaseGuidIDEntity { /// /// User Identifier ... /// /// [Required] [StringLength(255)] public string OwnerId { get; set; } /// /// Title of Document ... /// [StringLength(255)] public string Title { get; set; } /// /// Content of Document ... /// public string Content { get; set; } /// /// Hash of the Document Content ... /// public string ContentHash { get; set; } = string.Empty; /// /// Embedding Model Identifier ... /// public string EmbeddingModel { get; set; } = string.Empty; /// /// Dimensions of the Embedding ... /// public int Dimensions { get; set; } /// /// Vector representation of the Document ... /// public byte[] Vector { get; set; } = []; /// /// Created Time ... /// public DateTime CreatedOn { get; set; } /// /// Updated Time ... /// public DateTime UpdatedAt { get; set; } } }