I created a device to order pizza
inputs in manifest.tt or thingpedia.tt are given in the following code:
in req type: Enum(margherita_pizza,pepperoni_pizza,BBQ_chicken_pizza) #_[prompt="which pizza would you like to order?"], in req size: Enum(small,medium,large) #_[prompt="which pizza size would you like to order?"], in req toppings: Enum(onion,mushroom,corn) #_[prompt="which pizza topping would you like?"],
I want to customize prompt questions in 2 ways, like:
-
If type="margherita_pizza", are already given by user, then I want to ask the "size" of pizza as "As, you order margherita_pizza, what size of pizza you prefer?" So, propmt question need to extract type value.
-
If type="margherita_pizza", are already given by user, can I combine other input parameter prompt questions? for example: "which pizza size would you like to order? and which pizza topping would you like?"
I created a device to order pizza
inputs in manifest.tt or thingpedia.tt are given in the following code:
in req type: Enum(margherita_pizza,pepperoni_pizza,BBQ_chicken_pizza) #_[prompt="which pizza would you like to order?"], in req size: Enum(small,medium,large) #_[prompt="which pizza size would you like to order?"], in req toppings: Enum(onion,mushroom,corn) #_[prompt="which pizza topping would you like?"],I want to customize prompt questions in 2 ways, like:
If type="margherita_pizza", are already given by user, then I want to ask the "size" of pizza as "As, you order margherita_pizza, what size of pizza you prefer?" So, propmt question need to extract type value.
If type="margherita_pizza", are already given by user, can I combine other input parameter prompt questions? for example: "which pizza size would you like to order? and which pizza topping would you like?"