I know that Amazon Lex does not natively support a currency slot type. However, in my situation, I need to ask a user for a dollar amount, and they need to be able to respond with a dollar amount. The dollar amount may be only cents, may have no cents, or may have dollars and cents. I am looking for ideas to accomplish this. I did see one idea to ask for dollars and cents separately, however that would not be very user intuitive. Ultimately, I want my users to be able to say the following phrases, and Lex translate it to the appropriate decimal value:
- Eight Hundred Seventy Two Dollars and Seventeen Cents (872.17)
- Seventy Four Dollars (74.00)
- Sixty Five Cents (0.65)
Any help will be greatly appreciated.