feat(pkb): implement complete batch processing workflow and frontend optimization

- Frontend V3 architecture migration to modules/pkb
- Implement three work modes: full-text reading, deep reading, batch processing
- Complete batch processing: template selection, progress display, result export (CSV)
- Integrate Ant Design X Chat component with streaming support
- Add document upload modal with drag-and-drop support
- Optimize UI: multi-line table display, citation formatting, auto-scroll
- Fix 10+ technical issues: API mapping, state sync, form clearing
- Update documentation: development records and module status

Performance: 3 docs batch processing ~17-28s
Status: PKB module now production-ready (90% complete)
This commit is contained in:
2026-01-07 18:23:43 +08:00
parent e59676342a
commit 06028c6952
195 changed files with 1405 additions and 272 deletions

View File

@@ -1031,5 +1031,6 @@ Redis 实例¥500/月

View File

@@ -489,5 +489,6 @@ import { ChatContainer } from '@/shared/components/Chat';

View File

@@ -409,3 +409,4 @@ frontend-v2/src/modules/pkb/

View File

@@ -271,3 +271,4 @@ npm run dev

View File

@@ -786,3 +786,4 @@ AIA智能问答模块

View File

@@ -931,3 +931,4 @@ CREATE INDEX idx_rvw_tasks_created_at ON rvw_schema.review_tasks(created_at);

View File

@@ -584,3 +584,4 @@ const typography = {

View File

@@ -896,3 +896,4 @@ app.use('/api/v1/knowledge', (req, res) => {

View File

@@ -210,3 +210,4 @@ rm -rf src/modules/pkb

View File

@@ -385,3 +385,4 @@ GET /api/v2/pkb/batch-tasks/batch/templates

View File

@@ -29,3 +29,4 @@ import pkbRoutes from './modules/pkb/routes/index.js';

View File

@@ -298,3 +298,4 @@ backend/

View File

@@ -509,3 +509,4 @@ const response = await fetch('/api/v2/pkb/batch-tasks/batch/execute', {