IOS-M0-03 Import Candidate 候选知识点审批 #3
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目标
AI 解析文档后会生成候选知识点,iOS 端提供审批界面:接受/拒绝/编辑候选。
背景说明
后端 RAG Worker 解析文档 → 生成 ImportCandidate → 需要用户确认后才变成正式 KnowledgeItem。iOS 端完全没有这个页面。
后端接口
模块职责
禁止事项
✅ IOS-M0-03 修复完成
问题
AI 解析文档后生成的候选知识点(ImportCandidate)没有审批界面,用户无法确认哪些内容应该成为正式 KnowledgeItem。
修改
Core/Models/APIModels.swiftImportCandidate、BatchAcceptRequest模型Core/Services/APIService.swiftImportCandidateService:listBySource()、accept()、reject()、batchAccept()等 6 个方法Core/Navigation/Route.swiftimportReview(sourceId:)路由Features/Library/LibrarySubpages.swiftImportReviewPage审批页面行为变化
ImportReviewPage展示所有候选POST /import-candidates/batch-accept接入的后端接口
/knowledge-sources/:sourceId/import-candidates/import-candidates/:id/accept/import-candidates/:id/reject/import-candidates/batch-accept后续
IOS-M0-04 Knowledge Source将为知识源列表页面,可从那里导航到本审批页面。