Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slot Validation is not working as expected #7108

Closed
shreeraj04 opened this issue Oct 27, 2020 · 3 comments
Closed

Slot Validation is not working as expected #7108

shreeraj04 opened this issue Oct 27, 2020 · 3 comments
Assignees
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@shreeraj04
Copy link

Rasa version: 2.0.0

Python version:3.7.2

Operating system : Windows

Issue: Forms and slot validation is not happening, checked from the RASA examples formbot application as well

image

As per the actions and validations cuisine doesn't has japanese, but the bot took the response, also the num of people given is -1 which took as a valid answer.

image

image

image

image

Above are the snapshots of the slots and the validation code from the rasa examples form bot. Please help in this.

@shreeraj04 shreeraj04 added area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors. labels Oct 27, 2020
@sara-tagger
Copy link
Collaborator

sara-tagger commented Oct 27, 2020

Thanks for raising this issue, @melindaloubser1 will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗

@indam23
Copy link
Contributor

indam23 commented Oct 27, 2020

Looks like formbot was not updated to use FormValidationAction yet. I've opened a PR to update it here #7112

@shreeraj04
Copy link
Author

Yes, @melindaloubser1 formbot was not using FormValidationAction, also validate_formname was missing. I got to know from the latest documentation. Thanks for your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rasa-oss 🎡 Anything related to the open source Rasa framework type:bug 🐛 Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

3 participants