feat: set chunk to available state and select all chunk (#57)

* feat: set chunk to available state

* feat: select all chunk
This commit is contained in:
balibabu
2024-02-06 18:45:20 +08:00
committed by GitHub
parent eb381963b3
commit 97d4387982
15 changed files with 471 additions and 259 deletions

View File

@ -65,3 +65,13 @@ export interface ITenantInfo {
chat_id: string;
speech2text_id: string;
}
export interface IChunk {
available_int: number; // Whether to enable, 0: not enabled, 1: enabled
chunk_id: string;
content_with_weight: string;
doc_id: string;
docnm_kwd: string;
img_id: string;
important_kwd: any[];
}