Skip to content

Commit adb5417

Browse files
author
Daniel Lorch
committed
chore: configurable LOG_LEVEL
1 parent 0df6ddf commit adb5417

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plugins/dynamic-few-shot-lambda/template.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ Parameters:
4646
Type: String
4747
Default: "GENAIIDP-dynamic-few-shot"
4848

49+
LogLevel:
50+
Type: String
51+
Default: INFO
52+
4953
GenAIIDPS3OutputBucketName:
5054
Type: String
5155
Description: "GenAIIDP S3OutputBucketName"
@@ -87,7 +91,7 @@ Resources:
8791
Description: Demo Lambda function for GenAI IDP dynamic few-shot prompting
8892
Environment:
8993
Variables:
90-
LOG_LEVEL: INFO
94+
LOG_LEVEL: !Ref LogLevel
9195
S3VECTOR_BUCKET: !Ref VectorBucketName
9296
S3VECTOR_INDEX: !Ref VectorIndexName
9397
S3VECTOR_DIMENSIONS: !Ref VectorDimensions

0 commit comments

Comments
 (0)