using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;

namespace Nalu.Web.Models;

public record ExtractionRequest
{
    [JsonPropertyName("agent_input")]
    [MaxLength(600)]
    public required string AgentInput { get; init; }

    [JsonPropertyName("user_input")]
    [MaxLength(1000)]
    public required string UserInput { get; init; }

    [JsonPropertyName("agent_context")]
    [MaxLength(2000)]
    public string? AgentContext { get; init; }

    [JsonPropertyName("language")]
    public string Language { get; init; } = "pt-BR";
}
