Skip to content

Commit

Permalink
Update slotElicitationStyle in test_response function and fix intent …
Browse files Browse the repository at this point in the history
…name in module.tf
  • Loading branch information
FloRul committed Feb 4, 2024
1 parent 5a3315f commit 1d6aa59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion list_collections/src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def test_response():
return {
"sessionState": {
"dialogAction": {
"slotElicitationStyle": "Default",
"slotToElicit": SLOT_TO_ELICIT,
"type": "ElicitSlot",
},
Expand Down
2 changes: 1 addition & 1 deletion terraform/modules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module "lex_router" {
lambda_function_name = local.lex_router_lambda_name
aws_region = var.aws_region
intent_lambda_mapping = {
SelectCollections = local.list_collections_lambda_name
SelectCollection = local.list_collections_lambda_name
Inference = local.inference_lambda_name
}
}

0 comments on commit 1d6aa59

Please sign in to comment.