Skip to content

Commit 96571e8

Browse files
author
Daniel Lorch
committed
chore: fix missing substitution for custom_prompt_lambda_arn
1 parent db92334 commit 96571e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/pattern-2/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ Resources:
10061006
order: 7
10071007
custom_prompt_lambda_arn:
10081008
type: string
1009-
description: "(Optional) ARN of a Lambda function to generate custom extraction prompts. Function name must start with 'GENAIIDP-'. If not provided, default prompts will be used. The Lambda function receives the complete config, prompt placeholders, default task prompt content, and serialized document, and returns custom system_prompt and task_prompt_content. Example: arn:${AWS::Partition}:lambda:us-east-1:123456789012:function:GENAIIDP-my-extractor"
1009+
description: !Sub "(Optional) ARN of a Lambda function to generate custom extraction prompts. Function name must start with 'GENAIIDP-'. If not provided, default prompts will be used. The Lambda function receives the complete config, prompt placeholders, default task prompt content, and serialized document, and returns custom system_prompt and task_prompt_content. Example: arn:${AWS::Partition}:lambda:us-east-1:123456789012:function:GENAIIDP-my-extractor"
10101010
order: 8
10111011
dynamic_few_shot_lambda_arn:
10121012
type: string

0 commit comments

Comments
 (0)