package cn.iocoder.yudao.module.llm.controller.admin.basemodel.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 BaseModelSaveReqVO {

    @Schema(description = "基座模型唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "2828")
    private Long id;

    @Schema(description = "基座模型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "基座模型名称不能为空")
    private String modelName;

    @Schema(description = "参数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "12388")
    @NotNull(message = "参数量不能为空")
    private Integer parameterCount;

    @Schema(description = "最大上下文长度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "最大上下文长度不能为空")
    private Integer maxContextLength;

    @Schema(description = "模型类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "模型类型不能为空")
    private String modelType;

    @Schema(description = "是否启动", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否启动不能为空")
    private Boolean isActive;

    @Schema(description = "是否微调", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否微调不能为空")
    private Boolean isFinetuned;

    @Schema(description = "备注")
    private String notes;

    @Schema(description = "api地址")
    private String apiUrl;

    @Schema(description = "api秘钥")
    private String apiKey;

    @Schema(description = "代理")
    private String proxy;

    @Schema(description = "aigc平台id")
    private Long aigcId;
}
