| | |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import java.time.LocalDateTime; |
| | | |
| | | @Schema(description = "管理后台 - AI 知识库文档分片 Response VO") |
| | | @Schema(description = "管理后台 - AI 知识库分段 Response VO") |
| | | @Data |
| | | public class AiKnowledgeSegmentRespVO { |
| | | |
| | | @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24790") |
| | | @Schema(description = "编号", example = "1") |
| | | private Long id; |
| | | |
| | | @Schema(description = "文档编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24790") |
| | | private Long documentId; |
| | | |
| | | @Schema(description = "知识库编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24790") |
| | | @Schema(description = "知识库编号", example = "1") |
| | | private Long knowledgeId; |
| | | |
| | | @Schema(description = "向量库编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1858496a-1dde-4edf-a43e-0aed08f37f8c") |
| | | private String vectorId; |
| | | @Schema(description = "文档编号", example = "1") |
| | | private Long documentId; |
| | | |
| | | @Schema(description = "切片内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "Java 开发手册") |
| | | @Schema(description = "分段内容") |
| | | private String content; |
| | | |
| | | @Schema(description = "切片内容长度", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | | @Schema(description = "内容长度") |
| | | private Integer contentLength; |
| | | |
| | | @Schema(description = "token 数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
| | | @Schema(description = "向量 ID") |
| | | private String vectorId; |
| | | |
| | | @Schema(description = "Token 数") |
| | | private Integer tokens; |
| | | |
| | | @Schema(description = "召回次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") |
| | | @Schema(description = "检索次数") |
| | | private Integer retrievalCount; |
| | | |
| | | @Schema(description = "文档状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @Schema(description = "状态", example = "0") |
| | | private Integer status; |
| | | |
| | | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | private Long createTime; |
| | | @Schema(description = "创建时间") |
| | | private LocalDateTime createTime; |
| | | |
| | | } |