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: README.md
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,15 +45,22 @@ First, we'll create the Amazon Lex bot. Then, we'll add some Lambda Functions t
45
45
- Session timeout: `5 min`
46
46
- IAM role: (accept the default) `AWSServiceRoleForLexBots`
47
47
- COPPA: (our bot is not directed at children) `No`
48
-
1. Review the Error handling settings
48
+
1. Navigate to the the Error handling settings and set the following
49
+
50
+

51
+
49
52
- Prompts: (one prompt) `Sorry, but I didn't understand that. Would you try again, please?`
50
53
- Maximum number of retries: `2`
51
54
- Hang-up phrase: (one phrase) `Sorry, I could not understand. Goodbye.`
52
55
53
56
#### 2. Create Order Beverage Intent
57
+
58
+

59
+
54
60
From the left, add a new Intent called `cafeOrderBeverageIntent` with the following settings and click "Save Intent" to save the Intent.
55
61
To work independently in a shared environment, use your initials in the Intent name (e.g., `cafeOrderBeverageIntentXXX`).
56
62
63
+
57
64
1. Lambda initialization and validation (leave unchecked)
58
65
1. Fulfillment: choose "Return parameters to client" for now
59
66
1. Confirmation prompt: `You'd like me to order a {BeverageSize} {BeverageType}. Is that right?` to confirm and `Okay. Nothing to order this time. See you next time!` to cancel.
@@ -67,9 +74,12 @@ Let me get a {BeverageSize} {Creamer} {BeverageType}
67
74
```
68
75
69
76
#### 3. Create Slot types
77
+
78
+

79
+
70
80
Add the following Slot types (each value should be a separate entry); remember to "Save slot type" as you go along.
71
81
To work independently in a shared environment, use your initials in the names (e.g., `cafeBeverageTypeXXX`).
72
-
Note: Although they are saved with the AWS Account, Slot Types will only show up in the list when they are associated in the next step.
82
+
Note: Although they are saved with the AWS Account, ***Slot Types will only show up in the list on the left when they are associated in the next step.***
73
83
74
84
Slot type name | Description | Values (each entry on a separate line)
0 commit comments