Skip to content

Commit fe10381

Browse files
author
Bob Strahan
committed
Update web-ui.md with Edit Sections feature documentation
1 parent b290728 commit fe10381

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

docs/web-ui.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,66 @@ The solution includes a responsive web-based user interface built with React tha
2626
- **Document Process Flow visualization** for detailed workflow execution monitoring and troubleshooting
2727
- **Document Analytics** for querying and visualizing processed document data
2828

29+
## Edit Sections
30+
31+
The Edit Sections feature provides an intelligent interface for modifying document section classifications and page assignments, with automatic reprocessing optimization for Pattern-2 and Pattern-3 workflows.
32+
33+
### Key Capabilities
34+
35+
- **Section Management**: Create, update, and delete document sections with validation
36+
- **Classification Updates**: Change section document types with real-time validation
37+
- **Page Reassignment**: Move pages between sections with overlap detection
38+
- **Intelligent Reprocessing**: Only modified sections are reprocessed, preserving existing data
39+
- **Immediate Feedback**: Status updates appear instantly in the UI
40+
- **Pattern Compatibility**: Available for Pattern-2 and Pattern-3, with informative guidance for Pattern-1
41+
42+
### How to Use
43+
44+
1. Navigate to a completed document's detail page
45+
2. In the "Document Sections" panel, click the "Edit Sections" button
46+
3. **For Pattern-2/Pattern-3**: Enter edit mode with inline editing capabilities
47+
4. **For Pattern-1**: View informative modal explaining BDA architecture differences
48+
49+
#### Editing Workflow (Pattern-2/Pattern-3)
50+
51+
1. **Edit Section Classifications**: Use dropdowns to change document types
52+
2. **Modify Page Assignments**: Edit comma-separated page IDs (e.g., "1, 2, 3")
53+
3. **Add New Sections**: Click "Add Section" for new document boundaries
54+
4. **Delete Sections**: Use remove buttons to delete unnecessary sections
55+
5. **Validation**: Real-time validation prevents overlapping pages and invalid configurations
56+
6. **Submit Changes**: Click "Save & Process Changes" to trigger selective reprocessing
57+
58+
### Processing Optimization
59+
60+
The Edit Sections feature uses **2-phase schema knowledge optimization**:
61+
62+
#### Phase 1: Frontend
63+
- **Selective Payload**: Only sends sections that actually changed
64+
- **Validation Engine**: Prevents invalid configurations before submission
65+
66+
#### Phase 2: Backend
67+
- **Pipeline**: Processing functions automatically skip redundant operations
68+
- **OCR**: Skips if pages already have OCR data
69+
- **Classification**: Skips if pages already classified
70+
- **Extraction**: Skips if sections have extraction data
71+
- **Assessment**: Skips if extraction results contain assessment data
72+
- **Selective Reprocessing**: Only modified sections lose their data and get reprocessed
73+
74+
### Pattern Compatibility
75+
76+
#### Pattern-2 and Pattern-3 Support
77+
- **Full Functionality**: Complete edit capabilities with intelligent reprocessing
78+
- **Performance Optimization**: Automatic selective processing for efficiency
79+
- **Data Preservation**: Unmodified sections retain all processing results
80+
81+
#### Pattern-1 Information
82+
Pattern-1 uses **Bedrock Data Automation (BDA)** with automatic section management. When Edit Sections is clicked, users see an informative modal explaining:
83+
84+
- **Architecture Differences**: BDA handles section boundaries automatically
85+
- **Alternative Workflows**: Available options like "View/Edit Data", Configuration updates, and document reprocessing
86+
- **Future Considerations**: Guidance on using Pattern-2/Pattern-3 for fine-grained section control
87+
88+
2989
## Document Analytics
3090

3191
The Document Analytics feature allows users to query their processed documents using natural language and receive results in various formats including charts, tables, and text responses.

0 commit comments

Comments
 (0)