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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 基座模型分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BaseModelPageReqVO extends PageParam {

    @Schema(description = "基座模型名称", example = "张三")
    private String modelName;

    @Schema(description = "参数量", example = "12388")
    private Integer parameterCount;

    @Schema(description = "最大上下文长度")
    private Integer maxContextLength;

    @Schema(description = "模型类型", example = "1")
    private String modelType;

    @Schema(description = "是否启动")
    private Boolean isActive;

    @Schema(description = "是否微调")
    private Boolean isFinetuned;

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

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

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

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

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