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

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

@Schema(description = "管理后台 - 损失记录表，用于记录每次训练的损失值新增/修改 Request VO")
@Data
public class FineTuningLossSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29379")
    private Long id;

    @Schema(description = "微调任务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16806")
    @NotNull(message = "微调任务ID不能为空")
    private Long taskId;

    @Schema(description = "训练轮数")
    private Integer epoch;

    @Schema(description = "损失值")
    private Double lossValue;

}