You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: patterns/unified/template.yaml
+27-9Lines changed: 27 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,8 @@ Resources:
221
221
ocr:
222
222
order: 3
223
223
type: object
224
+
collapsible: true
225
+
defaultExpanded: false
224
226
sectionLabel: OCR Configuration
225
227
description: "Not used when BDA is enabled - BDA handles OCR internally"
226
228
dependsOn: { field: "use_bda", value: false }
@@ -581,7 +583,9 @@ Resources:
581
583
classification:
582
584
order: 4
583
585
type: object
584
-
sectionLabel: Classification Inference
586
+
collapsible: true
587
+
defaultExpanded: false
588
+
sectionLabel: Classification Configuration
585
589
description: "Not used when BDA is enabled - BDA handles classification internally"
586
590
dependsOn: { field: "use_bda", value: false }
587
591
required:
@@ -730,7 +734,9 @@ Resources:
730
734
order: 5
731
735
type: object
732
736
format: section
733
-
sectionLabel: Extraction Inference
737
+
collapsible: true
738
+
defaultExpanded: false
739
+
sectionLabel: Extraction Configuration
734
740
description: "Not used when BDA is enabled - BDA handles extraction internally"
735
741
dependsOn: { field: "use_bda", value: false }
736
742
required:
@@ -880,6 +886,8 @@ Resources:
880
886
assessment:
881
887
order: 6
882
888
type: object
889
+
collapsible: true
890
+
defaultExpanded: false
883
891
sectionLabel: Assessment & HITL Configuration
884
892
properties:
885
893
hitl_enabled:
@@ -1048,7 +1056,9 @@ Resources:
1048
1056
summarization:
1049
1057
order: 7
1050
1058
type: object
1051
-
sectionLabel: Summarization Inference
1059
+
collapsible: true
1060
+
defaultExpanded: false
1061
+
sectionLabel: Summarization Configuration
1052
1062
properties:
1053
1063
enabled:
1054
1064
type: boolean
@@ -1133,9 +1143,11 @@ Resources:
1133
1143
description: Task prompt - supports parameters {DOCUMENT_TEXT} and {EXTRACTION_RESULTS}. Optionally use <<CACHEPOINT>> to separate static and dynamic elements of prompt for Bedrock prompt caching.
1134
1144
order: 8
1135
1145
evaluation:
1136
-
order: 8
1146
+
order: 9
1137
1147
type: object
1138
-
sectionLabel: Evaluation Inference
1148
+
collapsible: true
1149
+
defaultExpanded: false
1150
+
sectionLabel: Evaluation Configuration
1139
1151
properties:
1140
1152
enabled:
1141
1153
type: boolean
@@ -1218,8 +1230,10 @@ Resources:
1218
1230
description: Task prompt for LLM evaluation - supports placeholders {DOCUMENT_CLASS}, {ATTRIBUTE_NAME}, {ATTRIBUTE_DESCRIPTION}, {EXPECTED_VALUE} and {ACTUAL_VALUE}
1219
1231
order: 7
1220
1232
discovery:
1221
-
order: 9
1233
+
order: 10
1222
1234
type: object
1235
+
collapsible: true
1236
+
defaultExpanded: false
1223
1237
sectionLabel: Discovery Configuration
1224
1238
description: Configuration for document class discovery functionality
1225
1239
properties:
@@ -1562,8 +1576,10 @@ Resources:
1562
1576
minimum: 1
1563
1577
order: 9
1564
1578
agents:
1565
-
order: 10
1579
+
order: 11
1566
1580
type: object
1581
+
collapsible: true
1582
+
defaultExpanded: false
1567
1583
sectionLabel: Agent Configuration
1568
1584
description: Configuration for AI agents used in the system
const[activeAddModal,setActiveAddModal]=useState<string|null>(null);// Path of the list currently showing add modal
459
463
const[newItemName,setNewItemName]=useState('');
@@ -1620,6 +1624,27 @@ const ConfigBuilder = ({
1620
1624
constsectionTitle=property.sectionLabelasstring;
1621
1625
console.log(`Creating section container for ${key} with title: ${sectionTitle}`);// nosemgrep: javascript.lang.security.audit.unsafe-formatstring.unsafe-formatstring - Debug logging with controlled internal data
1622
1626
1627
+
// Support collapsible top-level sections via schema property `collapsible: true`
1628
+
// defaultExpanded controls whether section starts expanded (defaults to true for backward compat)
0 commit comments