I have a flow based conversation modelled in wit.ai. After executing a custom action and sending the results to the user, the user should have the possibility to:
- say something like 'show me more' or
- say something like 'thank you' in which case the flow is configured to return a direct message 'you are welcome'
I used two separate intents 'more' and 'thank you' to differentiate between the branches. When I send 'show me more' to the bot, wit.ai correctly recognizes the intent 'more'. However, the conversation then takes the wrong branch and the bot sends 'you are welcome' as shown in this wit.ai response body:
{
"confidence" : 1,
"type" : "msg",
"msg" : "You are welcome!",
"entities" : {
"intent" : [ {
"confidence" : 0.9707855789235582,
"type" : "value",
"value" : "more"
} ]
}
}
Why is this happening?