2024-03-22 16:57:09 +08:00
|
|
|
export interface IChangeParserConfigRequestBody {
|
2025-12-17 12:58:48 +08:00
|
|
|
pages?: number[][];
|
|
|
|
|
chunk_token_num?: number;
|
|
|
|
|
layout_recognize?: string;
|
|
|
|
|
task_page_size?: number;
|
|
|
|
|
delimiter?: string;
|
|
|
|
|
auto_keywords?: number;
|
|
|
|
|
auto_questions?: number;
|
|
|
|
|
html4excel?: boolean;
|
|
|
|
|
toc_extraction?: boolean;
|
2024-03-22 16:57:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IChangeParserRequestBody {
|
|
|
|
|
parser_id: string;
|
2025-10-09 12:36:19 +08:00
|
|
|
pipeline_id: string;
|
2024-03-22 16:57:09 +08:00
|
|
|
doc_id: string;
|
|
|
|
|
parser_config: IChangeParserConfigRequestBody;
|
|
|
|
|
}
|
2025-01-13 17:13:37 +08:00
|
|
|
|
|
|
|
|
export interface IDocumentMetaRequestBody {
|
|
|
|
|
documentId: string;
|
|
|
|
|
meta: string; // json format string
|
|
|
|
|
}
|