server/config/brain/taxi/questions.en.json
[
{
"label": "taxi.order",
"questions": ["Order me a taxi from %from% to %city% %datetime% "],
"answers": ["Ok, got it. I'll order a taxi in {{datetime}} from {{from}} to {{city}}"],
"slots": [
{
"key": "from",
"mandatory": true,
"ifMissing": "Where should I pick you?",
"betweenCondition": {
"between": ["from", "to"]
}
},
{
"key": "city",
"mandatory": true,
"ifMissing": "Where are you going?",
"afterLastCondition": {
"after": "to"
}
},
{
"key": "datetime",
"mandatory": true,
"ifMissing": "When should I order this taxi?"
}
]
}
]