Reputation: 4228
How I can specify multiple answers for a specific dialog node? For example, when user asks “What is your name”, my VA should reply “My name is Alexander”, or “You can call me Alexander”, or “Friends call me Alex”. Maybe Conversation service must return a code and application checks the code and choose a random answer from answer's db.
Upvotes: 2
Views: 1263
Reputation: 9349
For the application node that gives the response, select advanced mode and change to this:
{
"output": {
"text": {
"values": [
"My name is Alexander.",
"You can call me Alexander",
"Friends call me Alex"
],
"selection_policy": "random",
"append": false
}
}
}
Upvotes: 4