Commit 305b0c59 authored by alex yao's avatar alex yao

feat: 获取分片接口,添加总分片数字段

parent d647b9c9
......@@ -9,8 +9,17 @@ public class GetKnowledgeChunkInfoResult extends AbstractResult implements Seria
private static final long serialVersionUID = 11243413567468L;
private Integer totalChunk;
private List<ChunkInfo> chunkInfos;
public Integer getTotalChunk() {
return totalChunk;
}
public void setTotalChunk(Integer totalChunk) {
this.totalChunk = totalChunk;
}
public List<ChunkInfo> getChunkInfos() {
return chunkInfos;
......@@ -22,8 +31,9 @@ public class GetKnowledgeChunkInfoResult extends AbstractResult implements Seria
@Override
public String toString() {
return "{" +
"chunkInfos:" + chunkInfos +
return "GetKnowledgeChunkInfoResult{" +
"totalChunk=" + totalChunk +
", chunkInfos=" + chunkInfos +
'}';
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment