Hi Fam,
I am building a PVA chatbot for a grocery chain store.
One of the features we want to deliver is store opening hours.
This is the scenario:
Customer: Opening Hours
Bot: Please provide your suburb or postcode
Customer: provide the suburb or the postcode
Bot: Return the closest store location base on above customer input
Customer: select a store location
Bot: Return the opening hours
So in the backend, I think I need to prepare two datasets.
All suburb dataset will have a list of all suburbs and postcodes in the country.
All store dataset will have a list of all stores, opening hours with their detailed location, including suburb and postcodes.
My question is, how does the PVA work out what's the closest location to the customer.
Has anyone got examples on how to implement this?
How does the bot handle the error?
For example, if the customer has provided a suburb name or postcode that are not in the All-Suburb dataset, or a typo, then the bot shall follow up with a different question, like "I cannot locate your suburb, please provide your state". And then the Bot will just return all stores in that state.
Hope this is quite a common scenario for a retail bot.
Thank you very much!