You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in validate_credit_card method, the amount-of-money slot may contain a number (e.g 5) or a string (e.g minimum) which is then evaluated in if amount and amount.lower() in balance_types leading to AttributeError: 'int' object has no attribute 'lower' if amount is a number.
Tested with:
Python 3.8.18
rasa 3.1.0
rasa-sdk 3.1.3
The text was updated successfully, but these errors were encountered:
BGLouie
changed the title
improper handling of tracker.get_slot("amount-of-money") in validate_credit_card form
improper handling of tracker.get_slot("amount-of-money") in validate_credit_card method
Oct 4, 2023
in
validate_credit_card
method, theamount-of-money
slot may contain a number (e.g5
) or a string (e.gminimum
) which is then evaluated inif amount and amount.lower() in balance_types
leading toAttributeError: 'int' object has no attribute 'lower'
if amount is a number.Tested with:
Python 3.8.18
rasa 3.1.0
rasa-sdk 3.1.3
The text was updated successfully, but these errors were encountered: