https://discord.gg/botpress logo
kb querying
# 🤝help
d
I added different KBs and depending on what topic the user chooses, I would like to search a specific KB. How can I do this?
w
Are you using a query KB card or an input card ?
Anyway that’s the same method , just select your card, and in the settings you should see “all KB” or something like this
Click on it and instead of that select the KB you want to the bot to answer from
d
Is there a more efficient way to do it based on input from the user if I have a lot of KBs (20+). Am I approaching this in the wrong direction? Would it be better to have it search all KBs instead? I'm concerned that the information it grabs might be misleading. When I first did just one KB some of the answers came from different KBs even though I didn't want it to.
w
You can redirect the user on specific card using intents and then target specific KB based on the user input
w
+1 on what 000Bo says above -- routing to different KB queries via AI or NLU-based transitions has worked well for me in the past
3 Views