All - Activity - Jivitesh - Rasa Community Forum
Unable to submit form using custom action_submit
Dear Mr will, I will fix these issues and get back to you, Thank you for the help hopefully it should work after I make these changes. Thank you once again. Best regards, Jivitesh Sharma
Hi Mr. Will, sure I have shared the details with you before, thank you for your reply and help. I have 4 slot values which are being filled as seen below and the debug logs are below too.
I have 1 sample story for this scenario as of now attached below but I also have a rule defined which…
I have created a form to submit a GET request to an API and it works, but I created a second form which makes another GET request to the same API but it's just not submitting the form, no errors are thrown on the action server command prompt, and I'm getting no output. I'm not too sure why this is happening.
I have tried it but it's still not working!
Screenshots of import below
Still the same error, the code is attached below for inspection:
class ValidateInputForm(FormValidationAction):
def name(self) -> Text:
return 'validate_meal_information_form'
def validate_cuisine_type(self, value: Text, slot_value: Any, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Any) -> Dict[Text, Any]:
# validation logic goes here
My domain file looks like this and my error message is attached below every time I run rasa train this pops up!
I have checked my domain.yml file online it says it is a valid file but rasa can’t validate it.
Hi marcos, I'm still working on my bot and was trying to validate my slot using a validate form but I keep getting this error validate_cuisine_type() missing 1 required positional argument: 'domain'. Any ideas?
Hi, the issue is if I use regex then I'd have to stop the DIET classifier from classifying intents right? Currently, DIET is really working well for me. I am using forms to fill the slots, but I don't have much experience with action.py if you could just show me how the code for the check for 2 and 3 d…
Hi, I'm working in a project where I need to fill in a slot with height and weight information (multi-intent) thus I have an intent defined height_information+weight_information with a few training examples.
I'm trying to set a name slot in my story but the value is just not being set even after the intent is being recognized - I checked that it is by running rasa shell --debug.