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/pattern-2/template.yaml
+81Lines changed: 81 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -136,10 +136,31 @@ Resources:
136
136
required:
137
137
- features
138
138
properties:
139
+
image:
140
+
type: object
141
+
sectionLabel: Image Processing Settings
142
+
description: Configure image resolution and processing options for OCR
143
+
order: 0
144
+
properties:
145
+
target_width:
146
+
type: number
147
+
description: "Target image width in pixels. Images larger than this will be resized. Default: 1200"
148
+
default: 1200
149
+
minimum: 100
150
+
maximum: 4096
151
+
order: 0
152
+
target_height:
153
+
type: number
154
+
description: "Target image height in pixels. Images larger than this will be resized. Default: 1600"
155
+
default: 1600
156
+
minimum: 100
157
+
maximum: 4096
158
+
order: 1
139
159
features:
140
160
type: array
141
161
listLabel: Features
142
162
itemLabel: Feature
163
+
order: 1
143
164
items:
144
165
type: object
145
166
required:
@@ -370,6 +391,26 @@ Resources:
370
391
- system_prompt
371
392
- task_prompt
372
393
properties:
394
+
image:
395
+
type: object
396
+
sectionLabel: Image Processing Settings
397
+
description: Configure image resolution and processing options for classification
398
+
order: 0
399
+
properties:
400
+
target_width:
401
+
type: number
402
+
description: "Target image width in pixels. Images larger than this will be resized. Default: 800"
403
+
default: 800
404
+
minimum: 100
405
+
maximum: 4096
406
+
order: 0
407
+
target_height:
408
+
type: number
409
+
description: "Target image height in pixels. Images larger than this will be resized. Default: 1000"
410
+
default: 1000
411
+
minimum: 100
412
+
maximum: 4096
413
+
order: 1
373
414
model:
374
415
type: string
375
416
description: Model identifier
@@ -433,6 +474,26 @@ Resources:
433
474
- system_prompt
434
475
- task_prompt
435
476
properties:
477
+
image:
478
+
type: object
479
+
sectionLabel: Image Processing Settings
480
+
description: Configure image resolution and processing options for extraction
481
+
order: 0
482
+
properties:
483
+
target_width:
484
+
type: number
485
+
description: "Target image width in pixels. Images larger than this will be resized. Default: 951"
486
+
default: 951
487
+
minimum: 100
488
+
maximum: 4096
489
+
order: 0
490
+
target_height:
491
+
type: number
492
+
description: "Target image height in pixels. Images larger than this will be resized. Default: 1268"
493
+
default: 1268
494
+
minimum: 100
495
+
maximum: 4096
496
+
order: 1
436
497
model:
437
498
type: string
438
499
description: Model identifier
@@ -482,6 +543,26 @@ Resources:
482
543
type: object
483
544
sectionLabel: Assessment Inference
484
545
properties:
546
+
image:
547
+
type: object
548
+
sectionLabel: Image Processing Settings
549
+
description: Configure image resolution and processing options for assessment
550
+
order: 0
551
+
properties:
552
+
target_width:
553
+
type: number
554
+
description: "Target image width in pixels. Images larger than this will be resized. Default: 800"
555
+
default: 800
556
+
minimum: 100
557
+
maximum: 4096
558
+
order: 0
559
+
target_height:
560
+
type: number
561
+
description: "Target image height in pixels. Images larger than this will be resized. Default: 1000"
562
+
default: 1000
563
+
minimum: 100
564
+
maximum: 4096
565
+
order: 1
485
566
default_confidence_threshold:
486
567
type: number
487
568
description: Default confidence threshold for all attributes (0.0 to 1.0). If an attribute doesn't have its own threshold, this default will be used for confidence threshold alerts.
0 commit comments