ConfirmSlot Directive

4 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€42.88
List Price:  €60.04
You save:  €17.15
£37.28
List Price:  £52.20
You save:  £14.91
CA$68.97
List Price:  CA$96.57
You save:  CA$27.59
A$76.53
List Price:  A$107.16
You save:  A$30.62
S$64.40
List Price:  S$90.17
You save:  S$25.76
HK$390.02
List Price:  HK$546.07
You save:  HK$156.04
CHF 40.17
List Price:  CHF 56.24
You save:  CHF 16.07
NOK kr501.12
List Price:  NOK kr701.61
You save:  NOK kr200.48
DKK kr320.06
List Price:  DKK kr448.11
You save:  DKK kr128.05
NZ$85.24
List Price:  NZ$119.34
You save:  NZ$34.10
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,080.28
List Price:  ৳8,512.87
You save:  ৳2,432.59
₹4,401.80
List Price:  ₹6,162.88
You save:  ₹1,761.07
RM211.33
List Price:  RM295.88
You save:  RM84.55
₦76,807.13
List Price:  ₦107,536.13
You save:  ₦30,729
₨14,145.55
List Price:  ₨19,804.90
You save:  ₨5,659.35
฿1,617
List Price:  ฿2,263.93
You save:  ฿646.93
₺2,057.21
List Price:  ₺2,880.27
You save:  ₺823.05
B$273.48
List Price:  B$382.90
You save:  B$109.41
R881.26
List Price:  R1,233.84
You save:  R352.57
Лв83.94
List Price:  Лв117.53
You save:  Лв33.58
₩69,465.68
List Price:  ₩97,257.52
You save:  ₩27,791.83
₪168.36
List Price:  ₪235.73
You save:  ₪67.36
₱2,864.40
List Price:  ₱4,010.39
You save:  ₱1,145.99
¥7,426.36
List Price:  ¥10,397.50
You save:  ¥2,971.14
MX$935.08
List Price:  MX$1,309.19
You save:  MX$374.10
QR182.14
List Price:  QR255.01
You save:  QR72.87
P673.81
List Price:  P943.39
You save:  P269.58
KSh6,456.20
List Price:  KSh9,039.20
You save:  KSh2,583
E£2,429.22
List Price:  E£3,401.11
You save:  E£971.88
ብር7,142.22
List Price:  ብር9,999.68
You save:  ብር2,857.45
Kz45,588.63
List Price:  Kz63,827.73
You save:  Kz18,239.10
CLP$48,672.26
List Price:  CLP$68,145.06
You save:  CLP$19,472.80
CN¥356.46
List Price:  CN¥499.08
You save:  CN¥142.61
RD$3,148.92
List Price:  RD$4,408.74
You save:  RD$1,259.82
DA6,494.88
List Price:  DA9,093.35
You save:  DA2,598.47
FJ$113.05
List Price:  FJ$158.28
You save:  FJ$45.23
Q383.12
List Price:  Q536.40
You save:  Q153.27
GY$10,452.96
List Price:  GY$14,634.99
You save:  GY$4,182.02
ISK kr6,159.26
List Price:  ISK kr8,623.46
You save:  ISK kr2,464.20
DH452.16
List Price:  DH633.06
You save:  DH180.90
L824.31
List Price:  L1,154.10
You save:  L329.79
ден2,643.86
List Price:  ден3,701.61
You save:  ден1,057.75
MOP$401.89
List Price:  MOP$562.68
You save:  MOP$160.78
N$885.65
List Price:  N$1,239.98
You save:  N$354.33
C$1,839.58
List Price:  C$2,575.56
You save:  C$735.98
रु7,055.44
List Price:  रु9,878.18
You save:  रु2,822.74
S/176.68
List Price:  S/247.37
You save:  S/70.68
K209.61
List Price:  K293.47
You save:  K83.86
SAR187.58
List Price:  SAR262.62
You save:  SAR75.04
ZK1,184.36
List Price:  ZK1,658.21
You save:  ZK473.84
L217.76
List Price:  L304.89
You save:  L87.12
Kč1,048.54
List Price:  Kč1,468.04
You save:  Kč419.50
Ft16,885.54
List Price:  Ft23,641.10
You save:  Ft6,755.56
SEK kr471.84
List Price:  SEK kr660.62
You save:  SEK kr188.77
ARS$67,959.66
List Price:  ARS$95,148.96
You save:  ARS$27,189.30
Bs345.39
List Price:  Bs483.58
You save:  Bs138.18
COP$200,455.99
List Price:  COP$280,654.43
You save:  COP$80,198.43
₡25,271.30
List Price:  ₡35,381.84
You save:  ₡10,110.54
L1,317.54
List Price:  L1,844.66
You save:  L527.12
₲361,036.84
List Price:  ₲505,480.47
You save:  ₲144,443.62
$U2,000.70
List Price:  $U2,801.15
You save:  $U800.44
zł182.35
List Price:  zł255.30
You save:  zł72.95
Already have an account? Log In

Transcript

Hello guys, welcome to the 27th session of create custom and access key using AWS lambda function tutorials for beginners. In this session we will use confirm slot directive. Confirm slot is used to add confirmation for slot value. In previous session we have created a new intent for obtaining person name, country money and friends count. In this session I will go to modify it such that it will ask for confirmation for friends count. Open add user preference intent edit dialog for a counselor that is available confirmation for this law.

You need to add text that will be asked for the user for confirmation. Right you want to visit conference right the model Open JSON editor. column to dialogue property. For count slot you can see the confirmation required is true and it contains confirmation prompt ID scroll down to end. Here new properties added for confirmation of count. build a model.

Let us switch to VS code to update lambda. add one more else block here. If confirmation status of counselor is none then we will prompt with the message you want to visit counselor dot value friends right and use add confirm slot To vector method of responsibility to generate response like elicit in confirm slot we need to pass slot name for each we will add confirm directing. When user denies confirmation then confirmation status will be denied. In that situation we need to ask the user to enter that value okay. For this I will use innocent slot directly.

Let us create as Rob for that when confirmation status is denied, then ask the user for Can you please tell me again about how many friends you want to visit controlling slot when you use an illicit slot directive method to retry when you again here's the file and deploy it. That function is tested in Echo Dot. Alexa, open the third demo. Welcome to third demo skill. My name is Megan and I want to visit fete num with my three friends. Do you want to visit three friends?

Right? No. Can you please tell me again about how many friends you want to visit Vietnam? You want to visit to friends, right? Yeah. Your name is Megan.

You want to visit Vietnam with two other. Let us see what we have learned in this session. Confirm slot directive is used to provide confirmation for slot value Here is an example that we have created. When confirmation status is none we have used add confirm floor directive for confirmation. When user denies confirmation, we will ask for new value using elicit slot directive. Thanks for watching this video.

If you have any doubts, please feel free to contact me Have a nice day.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.