using System.Collections.Generic;

namespace NexusReader.Application.DTOs.AI;

public class GroundedResponseDto
{
    public string Answer { get; set; } = string.Empty;
    public List<CitationDto> Citations { get; set; } = new();
}

public class CitationDto
{
    public string CitationId { get; set; } = string.Empty; // e.g., chunk hash/ID
    public string Snippet { get; set; } = string.Empty;    // Verified text snippet from context
    public string SourceBook { get; set; } = string.Empty; // Book title or description
    public string? Author { get; set; }
    public int? PageNumber { get; set; }
}
