All - Activity - momo - Rasa Community Forum

Rasa_core_sdk using multiple files including actions located in a different path then the current work_dir

Hey, I was just in the process of updating to rasa_core 0.11.2 and ran into a problem using rasa_core_sdk. So my setup looks something like this:

project_dir/
 -chatbot/
 -actions/
 -action_file_01.py
 -action_file_02.py
 -action_file_03.py

I was now trying…


Reset Slot (FormAction)

@mjoellnier Yeah I was actually thinking about that when writing up my answer and don’t really have a solution. But do you really have the need to distinguish them? Wouldn’t it be enough for the action to check if the slot_name is in tracker.slots and if it is just set the slot to the acquired slot?


@raghavendrav1210 I’m not sure if I completely understand what you want to achieve. Do you want to set a slot when an utter_action is called? If that in fact is what you want to do, I don’t think it’s possible, but it is also pretty simple to achieve that with a custom action, which would look something like this:


Hey, my first intuition would be to create an extra intent let’s say change_slot and two additional slots, which contain the name of the slot you want to change changing_slot_name and the value changing_slot_value. Then you add a custom action which is triggered when your intent is recognized and …


Using single entity for two different intent's

I’m afraid, I haven’t run into a similar problem yet. Maybe you could share some further information for people to better understand your issue?


Hey @NikhilBansal21, I don’t have a concrete solution for your problem, but have you tried running your bot in debug mode? It offers a lot of information about what’s going on "below the hood". http://www.rasa.com/docs/core/debugging/ Hope this helps! :)