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

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

    @Schema(description = "知识库ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23286")
    @NotNull(message = "知识库ID不能为空")
    private Long knowledgeBaseId;

    @Schema(description = "文档ID", example = "12907")
    private Long documentId;

    @Schema(description = "块ID", example = "27291")
    private Long chunkId;

    @Schema(description = "向量数据")
    private byte[] vector;

    @Schema(description = "文本块内容")
    private String content;

}