Hi All,
Hope Everyone fine. I am facing a issue while using custom action. I have two action asking and adding points which have two similar slots , C_ID and T_ID . I used form action and trained with interactive trainer, but in dialogue when i am calling asking point , nlu is getting same classification but after that when it is asking for slots it is taking adding points action.
DEBUG:rasa_core_sdk.executor:Successfully ran ‘action_asking_points’ 127.0.0.1 - - [2018-10-16 11:21:43] “POST /webhook HTTP/1.1” 200 291 0.008002 DEBUG:rasa_core_sdk.executor:Received request to run ‘action_add_points’ DEBUG:rasa_core_sdk.executor:Successfully ran ‘action_add_points’ 127.0.0.1 - - [2018-10-16 11:21:49] “POST /webhook HTTP/1.1” 200 360 0.013000 DEBUG:rasa_core_sdk.executor:Received request to run ‘action_add_points’ DEBUG:rasa_core_sdk.executor:Successfully ran ‘action_add_points’ 127.0.0.1 - - [2018-10-16 11:21:54] “POST /webhook HTTP/1.1” 200 449 0.016000
Story :
- Asking_Points
- action_asking_points
- slot{“requested_slot”: “Transaction_ID”}
- inform{“number”: “4578478.0”}
- slot{“number”: “4578478.0”}
- action_asking_points
- slot{“Transaction_ID”: “4578478.0”}
- slot{“requested_slot”: “Customer_ID”}
- inform{“number”: “4578934214.0”}
- slot{“number”: “4578934214.0”}
- action_asking_points
- slot{“Customer_ID”: “4578934214.0”}
- action_restart
Add_Transaction - action_add_points - slot{“requested_slot”: “Transaction_ID”}
- inform{“number”: 145645.0}
- slot{“number”: 145645.0}
- action_add_points
- slot{“Transaction_ID”: 145645.0}
- slot{“requested_slot”: “Customer_ID”}
- inform{“number”: 789456123548.0}
- slot{“number”: 789456123548.0}
- action_add_points
- slot{“Customer_ID”: 789456123548.0}
- action_restart
Please let me know if more clarification required