package cn.iocoder.yudao.module.ai.controller.admin.knowledge.vo.segment;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - AI 知识库分段 Response VO")
|
@Data
|
public class AiKnowledgeSegmentRespVO {
|
|
@Schema(description = "编号", example = "1")
|
private Long id;
|
|
@Schema(description = "知识库编号", example = "1")
|
private Long knowledgeId;
|
|
@Schema(description = "文档编号", example = "1")
|
private Long documentId;
|
|
@Schema(description = "分段内容")
|
private String content;
|
|
@Schema(description = "内容长度")
|
private Integer contentLength;
|
|
@Schema(description = "向量 ID")
|
private String vectorId;
|
|
@Schema(description = "Token 数")
|
private Integer tokens;
|
|
@Schema(description = "检索次数")
|
private Integer retrievalCount;
|
|
@Schema(description = "状态", example = "0")
|
private Integer status;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
}
|