Skip to content

Commit 646dee8

Browse files
author
EC2 Default User
committed
Fix YAML syntax error in CustomConfigPath description
- Fix indentation in multi-line description for CustomConfigPath parameter - Remove problematic colon in example text that was breaking YAML parsing - Ensure consistent formatting with other parameter descriptions
1 parent 87872ea commit 646dee8

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

template.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ Parameters:
100100
AllowedValues:
101101
- "lending-package-sample"
102102
- "default"
103-
Description: Select the configuration preset for Pattern 1. Each configuration contains pre-tuned settings for specific document processing scenarios - see https://github.com/aws-samples/sample-genai-idp/blob/main/config_library/README.md.
104-
Note: This selected configuration will be replaced by the Custom Configuration Path if specified.
103+
Description: >-
104+
Select the configuration preset for Pattern 1. Each configuration contains pre-tuned settings for specific document processing scenarios - see https://github.com/aws-samples/sample-genai-idp/blob/main/config_library/README.md. Note: This selected configuration will be replaced by the Custom Configuration Path if specified.
105105
106106
# Pattern 2 Parameters
107107

@@ -114,8 +114,8 @@ Parameters:
114114
- "rvl-cdip-package-sample-with-few-shot-examples"
115115
- "bank-statement-sample"
116116
- "default"
117-
Description: Select the configuration preset for Pattern 2. Each configuration contains pre-tuned settings for specific document processing scenarios see https://github.com/aws-samples/sample-genai-idp/blob/main/config_library/README.md.
118-
Note: Custom configuration overrides the selected pattern configuration when provided.
117+
Description: >-
118+
Select the configuration preset for Pattern 2. Each configuration contains pre-tuned settings for specific document processing scenarios see https://github.com/aws-samples/sample-genai-idp/blob/main/config_library/README.md. Note: Custom configuration overrides the selected pattern configuration when provided.
119119
120120
Pattern2CustomClassificationModelARN:
121121
Type: String
@@ -141,8 +141,8 @@ Parameters:
141141
AllowedValues:
142142
- "rvl-cdip-package-sample"
143143
- "default"
144-
Description: Select the configuration preset for Pattern 3. Each configuration contains pre-tuned settings for specific document processing scenarios - see https://github.com/aws-samples/sample-genai-idp/blob/main/config_library/README.md.
145-
Note: Custom configuration overrides the selected pattern configuration when provided.
144+
Description: >-
145+
Select the configuration preset for Pattern 3. Each configuration contains pre-tuned settings for specific document processing scenarios - see https://github.com/aws-samples/sample-genai-idp/blob/main/config_library/README.md. Note: Custom configuration overrides the selected pattern configuration when provided.
146146
# HITL (A2I) Configuration
147147

148148
EnableHITL:
@@ -270,9 +270,11 @@ Parameters:
270270
CustomConfigPath:
271271
Type: String
272272
Default: ""
273-
Description: S3 URI pointing to your custom configuration YAML file. When provided, this configuration overrides the selected pattern preset and applies to all processing patterns. Leave blank to use the selected pattern configuration preset. Example: s3://my-bucket/custom-config/config.yaml
273+
Description: >-
274+
S3 URI pointing to your custom configuration YAML file. When provided, this configuration overrides the selected pattern preset and applies to all processing patterns.
275+
Leave blank to use the selected pattern configuration preset. For example s3://my-bucket/custom-config/config.yaml
274276
AllowedPattern: '^(|s3://[a-zA-Z0-9.\-_]+(/.*)?)'
275-
ConstraintDescription: Must be empty or a valid S3 URI (Example: s3://my-bucket/custom-config/config.yaml)
277+
ConstraintDescription: Must be empty or a valid S3 URI (e.g., s3://my-bucket/custom-config/config.yaml)
276278

277279
MaxConcurrentWorkflows:
278280
Type: Number

0 commit comments

Comments
 (0)