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

import cn.iocoder.yudao.module.llm.controller.admin.knowledgedocuments.vo.KnowledgeDocumentsSaveReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 知识库新增/修改 Request VO")
@Data
public class KnowledgeBaseSaveReqVO {

    @Schema(description = "知识库ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25984")
    private Long id;

    @Schema(description = "知识库名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "知识库名称不能为空")
    private String knowledgeBaseName;

    @Schema(description = "知识库简介")
    private String knowledgeBaseIntro;

    @Schema(description = "知识库图标")
    private String knowledgeBaseLogo;

    @Schema(description = "topK")
    private Integer topK;

    @Schema(description = "Score阈值")
    private Integer score;

    @Schema(description = "知识长度")
    private Integer knowledgeLength;

    @Schema(description = "文件引用")
    private String knowledgeFile;

    @Schema(description = "文件引用上传")
    private List<KnowledgeDocumentsSaveReqVO> knowledgeDocuments;
}