You have a skill for ordering pizzas. In your experience, you have found that 95% of your customers want a regular crust and just 5% prefer gluten-free crust. Because so few people are likely to want a gluten-free crust, you don't want to prompt for that option, but you do want to make it available.
Assuming you already have a composite bag entity that contains a PizzaCrust entity that has the values
"regular" and "gluten free", what would be the simplest way to have your skill enable a user to order a pizza with a gluten-free crust without the skill prompting the user for that option?
In yourconversationflow,you want tomakesurethatusers always see a message,evenwhen thereisnodata to display.Toimplement this,youdecide touse asystem.setvariablecomponentthat verifies that the variablemydatacontainsavalue and,ifitdoes,setsthe value of the displayVarvariabletothe valueofmydata.Ifnovalueisspecifiedformydata,thendisplayVarisset tothestring'NoData1.
WhichtwoBotMLwithApache FreeMarkerexamplesimplement thisrequirement?
Which variable type is automatically set with values from the chat client,such aslocate and timezoneoffset?
Assuming conversation is the customcomponent SDK handle, which two code statements are valid to access the order and userAccount input parameters of the custom component?
A)
B)
C)
D)
E)