package cn.iocoder.yudao.module.llm.controller.admin.finetuning.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 模型微调新增/修改 Request VO")
@Data
public class FineTuningSaveReqVO {

    @Schema(description = "微调记录唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "12275")
    private Integer id;

    @Schema(description = "关联的基座模型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8253")
    @NotNull(message = "关联的基座模型ID不能为空")
    private Integer baseModelId;

    @Schema(description = "训练数据量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "训练数据量不能为空")
    private Integer trainingDataSize;

    @Schema(description = "评估数据集", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "评估数据集不能为空")
    private String evaluationDataset;

    @Schema(description = "平均分")
    private BigDecimal averageScore;

    @Schema(description = "评估状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "评估状态不能为空")
    private String evaluationStatus;

    @Schema(description = "lora路径")
    private String loraPath;

}