namespace Rag.Data.Entities;

// no CreatedAt column in schema — BaseEntity not applicable
public sealed class RagChunkEntity
{
    public string Id { get; set; } = string.Empty;
    public string DocumentId { get; set; } = string.Empty;
    public int ChunkIndex { get; set; }
    public string Text { get; set; } = string.Empty;
    public byte[] Embedding { get; set; } = [];

    public RagDocumentEntity? Document { get; set; }
}
