Hello,
I am trying to get RASA recognize amount of money but also recognize the currency. Please find bellow my NLU data (of course many more examples):
- Pay Emil 120USD from my saving account
I have custom action to dump processing: without DUCKLING: Your input → Pay Emil 230USD from my checking account Custom json: { “intent”: “do_payment”, “entities”: { “doPay”: “Pay”, “payee”: “Emil”, “from_account”: “checking account” } }
with DUCKLING: Custom json: { “intent”: “do_payment”, “entities”: { “doPay”: “Pay”, “payee”: “Emil”, “from_account”: “checking account”, “amount-of-money”: “230” } }
as you can see none detects the currency?
but if I type: Pay Emil 230 USD from my checking account (space between 230 and USD) Custom json: { “intent”: “do_payment”, “entities”: { “doPay”: “Pay”, “mm_amount”: “230”, “currency”: “USD”, “from_account”: “checking account”, if duckling also: “amount-of-money”: “230” }
so in short 230USD is never recognized as 230 USD, unfortunately I cannot force users to put a space.
Any idea how to make RASA work with 230USD?
Best regards: V