I currently using the python request
library to first send a request to force the bot to recognize a specific intent and then predict the next action based on this. The call looks like the following:
requests.post('http://localhost:5005/conversations/default/messages',
data=json.dumps({'sender':'user','text':'/find_product_name'}))
requests.post('http://localhost:5005/conversations/default/predict')
My story looks like the following:
## story_001
* greet
- utter_greet
* find_product_name
- utter_found
* goodbye
- utter_goodbye
What I am expecting is that the most likely action returned by predict is utter_found
. Instead what I get is an action_listen
. Anyone can point me to the root of the problem?