Skip to content

Prompt Question customization #906

Description

@vinith-reddy25

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:

  1. 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.

  2. 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?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions