We have already seen how you can use the user’s own words in your bot’s reply. Here we will show you how to normalize the user’s words before returning them. This can be useful for slightly misspelled inputs like the following:
User: Do you have a store in berln
Bot: Yes, we have recently opened a brand new store in berln! (repeats user’s spelling mistake)
from DZone.com Feed https://ift.tt/2XsKB0g
No comments:
Post a Comment