RASA 3.6.8: Custom Actions Not Recognized

Hello, I’m working on implementing a ChatBot as part of my university assignment. It’s supposed to receive a customer’s travel preferences and return (from a JSON) all the trips that match those preferences or notify if there are no available trips based on their prior needs.

I’ve used a form, and it works wonderfully for storing the slots. However, my issue arises when I try to trigger the “devolver_viajes” action. The action itself WORKS because when I force it to run in Rasa interactive, it returns the correct results. The problem is that the conversation flow skips it and returns “action_default_fallback.”

P.S.: My custom action is defined in the domain, and it has the same name as the def name(): method.

Is there any solution or guidance you can provide to help me resolve this issue?

Rasa Version      :         3.6.8
Minimum Compatible Version: 3.5.0
Rasa SDK Version  :         3.6.2
Python Version    :         3.8.0

imagen

BEFORE

AFTER

Look, “devolver_viajes” have 0.00 imagen

I recommend you use rules to activate and deactivate the forms as shown in the docs. I would also avoid use of checkpoints.

There should be a simple rule to activate the form as shown in the docs and you shouldn’t have the form activation and submit action tied to together as you have it here with the stories and checkpoint.

Following the docs should fix this for you.