Asking clarifying quesitons
# 🤝help
b
A use case is that the user asks a very generic question: "Opening hours?", but say there are multiple stores that are in the knowledge base. Either it will spit out all the opening hours, but it would be better for the bot to ask "Which store do you want" or something like that. How would I do this?
a
Try catching it as intention? or have a dedicated KB for this question. And then build logic from there
a
☝️ either of these will work. https://botpress.com/docs/cloud/studio/library/#intents is a good starting point on intents. "Opening Hours" can be the intent and the store name can be the slot. Though it would be much easier to try the knowlege base route. Try making a plain text KB with all your store opening hours and see if it works?
b
Thanks for the replies. But with the KB route, it would still just return ALL store hours right? It would be more elegant to ask the user for more information. I had the intention route in mind, thanks will try it out.
8 Views