feat: 重构知识库文档导入任务化流程

- 新增上传建单、异步解析、分块处理与异步向量化闭环

- 收口分享页权限、完成态检索过滤与 SSE 局部状态刷新
This commit is contained in:
2026-04-15 19:27:22 +08:00
parent a41b50959e
commit 2689adfa40
56 changed files with 6376 additions and 1060 deletions

View File

@@ -48,5 +48,9 @@
"more": "Mode",
"submitDeleteApproval": "Submit Delete Approval",
"submitPublishApproval": "Submit Publish Approval",
"viewSegmentation": "ViewSegmentation"
"viewSegmentation": "View Segments",
"continueProcess": "Continue",
"startIndex": "Start Indexing",
"retryParse": "Retry Parse",
"retryIndex": "Retry Index"
}

View File

@@ -32,9 +32,10 @@
"rerankLlmId": "RerankLlm",
"searchEngineEnable": "SearchEngineEnable",
"englishName": "EnglishName",
"documentType": "DocumentType",
"fileName": "fileName",
"knowledgeCount": "Number of knowledge items",
"chunkCount": "Chunks",
"processStatus": "Status",
"progress": "Progress",
"publishStatusDraft": "Draft",
"publishStatusPublishPending": "Publish Pending",
"publishStatusPublished": "Published",
@@ -77,17 +78,32 @@
"fileName": "File Name",
"progressUpload": "Progress of file upload",
"fileSize": "File size",
"uploadCreateTip": "After upload, the document appears in the list first and is parsed asynchronously. Continue with chunking after parsing finishes.",
"analysisTip": "The system analyzes multilingual structure first and recommends a splitting strategy. You can still adjust each file manually.",
"manualStrategyTip": "The preview refreshes automatically when the chunking strategy changes. Start indexing after it looks right.",
"confidence": "Confidence",
"recommendReason": "Reasons",
"candidateStrategies": "Candidates",
"strategySelection": "Strategy",
"previewTip": "The preview result is the final import basis. Confirm it before committing.",
"previewPaneTitle": "Chunk Preview",
"previewEmpty": "No preview data",
"previewReady": "Preview ready",
"previewRefreshing": "Refreshing preview",
"previewRequestFailed": "Failed to refresh preview. Please try again.",
"warningCount": "Warnings",
"chunkCount": "Chunks",
"lockedState": "Locked",
"normalizedDocumentTitle": "Source Text",
"normalizedDocumentTip": "Shows the normalized source text so each chunk can be checked in context.",
"resultEmpty": "No import result",
"importFailed": "Import failed"
"importFailed": "Import failed",
"createSuccess": "Documents added to the list",
"partialCreateSuccess": "Only some documents were added successfully",
"indexQueued": "Indexing started",
"previewAction": "Generate Preview",
"workbenchEyebrow": "Processing Workspace",
"workbenchTitle": "Document Processing"
},
"splitterDoc": {
"fileType": "FileType",
@@ -113,6 +129,16 @@
"uploading": "Parsing in progress",
"importSuccess": "ImportSuccess"
},
"taskStatus": {
"UPLOADED": "Uploaded",
"PARSING": "Parsing",
"PARSE_FAILED": "Parse Failed",
"READY_FOR_SEGMENT": "Ready for Chunking",
"READY_FOR_INDEX": "Ready for Indexing",
"INDEXING": "Indexing",
"INDEX_FAILED": "Index Failed",
"COMPLETED": "Completed"
},
"documentManagement": "Document management",
"actions": {
"knowledge": "Knowledge",
@@ -188,5 +214,6 @@
"vectorEmbedModelTips": "After successful vector data, it is not allowed to modify the vector model",
"dimensionOfVectorModelTips": "After successful vector data, it is not allowed to modify the dimensions of the vector model",
"dimensionOfVectorModel": "Dimension of vector model",
"managePermissionHint": "Only the creator or super admin can modify this knowledge base"
"managePermissionHint": "Only the creator or super admin can modify this knowledge base",
"processingDeleteBlocked": "Documents in progress cannot be deleted"
}