I am building my RASA assistant for a personal project, and I need the RASA assistant to grab the entire user input and store it. However, I’m unsure how to do so.
On the form I made, the RASA assistant asks for a user e-mail subject input, but I don’t know how I’m going to extract the entire user message and store it as a slot considering that I can’t define a specific intent for the message the user is going to input.
Is there a work-around this issue? Or does RASA have a “questionnaire” functionality that allows me to store whatever the user gives me?
P.S.: I know that there’s a functionality in actions.py (tracker.latest_message.get(‘text’)) to obtain the latest message, I just don’t know how to trigger the function since the user input can be anything at all as it is not tied to a specific intent.
You can use the Text Slot to store the entire user utterance in the slot. You can also use the Mapping Conditions to specify the context of the slot mapping.
Anyone else with a more specific answer? No matter how I use Mapping Conditions with Forms it seems that it can’t detect the message since the intent is very broad and could be anything…
Maybe the next Rasa version should allow a type of functionality where it facilitates just grabbing the user input without detecting any type of intent to trigger it as a Forms functionality? That’s something I’d look forward to working with.