@akelad @erohmensing @ricwo @Ghostvv , Can anyone of you please help on this issue?
Versions (Old): rasa-core (0.14.0a1) , rasa-core-sdk (0.12.2), rasa-nlu (0.14.3)
After RASA-X migration:
Version ( New) : Rasa 1.2.8
stories.md
## blackout_1
* blackout+host_or_db+ducklingtime{"duration": 10, "hostname": "ciec-ho-a1s.sys.net"}
- slot{"duration": 10}
- slot{"hostname": "ciec-ho-a1s.sys.comcast.net"}
- action_blackout_comments
- form{"name": "action_blackout_comments"}
- form{"name": null}
- action_blackout_notify
- action_blackout
actions.py:
class BlackoutComments(FormAction):
def name(self):
return "action_blackout_comments"
@staticmethod
def required_slots(tracker):
return ["blackout_comments"]
def slot_mappings(self):
return {"blackout_comments": self.from_text()}
def submit(self, dispatcher, tracker, domain):
dispatcher.utter_template('utter_bc_submit', tracker)
return [ ]
Interactive learning:
? Next user input (Ctr-c to abort): blackout ciec-ho-a1s.sys for 2 hours ? Is the NLU classification for ‘blackout for ciec-ho-a1s.sys.net 2 hours’ with intent ‘blackout+host_or_db+ducklingtime’ correct? Yes
Chat History
Bot You
──────────────────────────────────────────────────────────────── 1 action_listen ──────────────────────────────────────────────────────────────── 2 blackout for ciec-ho-a1s.sys…net 2 hours intent: blackout+host_or_db+ducklingtime 0.89 ──────────────────────────────────────────────────────────────── 3 slot{“duration”: 2} slot{“hostname”: “ciecdb-ho-a1s.sys…net”}
Current slots: dbname: None, blackout_comments: None, time: None, application_name: None, hostname: ciecdb-ho-a1s.sys…net, start_date: None, duration: 2, location: None, requested_slot: None, no_of_hours: None, end_date: None
? The bot wants to run ‘utter_awr_timeframe’, correct? No
Chat History
Bot You
──────────────────────────────────────────────────────────────── 1 action_listen ──────────────────────────────────────────────────────────────── 2 blackout for ciec-ho-a1s.sys…net 2 hours intent: blackout+host_or_db+ducklingtime 0.89 ──────────────────────────────────────────────────────────────── 3 slot{“duration”: 2} slot{“hostname”: “ciecdb-ho-a1s.sys…net”}
Current slots: dbname: None, blackout_comments: None, time: None, application_name: None, hostname: ciecdb-ho-a1s.sys…net, start_date: None, duration: 2, location: None, requested_slot: None, no_of_hours: None, end_date: None
? What is the next action of the bot? 0.00 action_blackout_comments Thanks! The bot will now run action_blackout_comments.
Chat History
Bot You
──────────────────────────────────────────────────────────────── 1 action_listen ──────────────────────────────────────────────────────────────── 2 blackout for ciec-ho-a1s.sys.net 2 hours intent: blackout+host_or_db+ducklingtime 0.89 ──────────────────────────────────────────────────────────────── 3 slot{“duration”: 2} slot{“hostname”: “ciecdb-ho-a1s.sys…net”} action_blackout_comments form{“name”: “action_blackout_comments”} slot{“requested_slot”: “blackout_comments”} Please provide a reason for blackout
Current slots: dbname: None, blackout_comments: None, time: None, application_name: None, hostname: ciecdb-ho-a1s.sys…net, start_date: None, duration: 2, location: None, requested_slot: blackout_comments, no_of_hours: None, end_date: None
? The bot wants to run ‘action_listen’, correct? Yes ? Next user input (Ctr-c to abort): this is for test ? Is the NLU classification for ‘this is for test’ with intent ‘host_or_db’ correct? (Y/n)
When i try to fill the blackout_comments slot, instead of taking the inputs as it is, nlu trying to predict the intent. Could you guys please help me to understand what am doing wrong here?