how can I handel questions outside from given info...
# 🤝help
p
Hi Community, I just startet toda with botpress an have a question. If I create a Chatbot for the thema A and the User ask a Question for Thema B, actuel the Bots end. Is there a possibility to bild a Solution the the Bot answer " Sorry I can't answer the Question but I guess you wil find the answer at Google. " and continue working.
a
Lets say your files are stored in KB1. Now create a new KB, say KB2 and add "search the internet" option, perhaps the whole internet option. Now we use raw input card to get ur user query. Make sure u only have KB1 enabled in this . Now write an expression card that transitions when answer is not found by KB. At the end of that transition, you can add a text saying "looking for answer on the web" and look for the answer to the same question using Query KB card. This will search both KB1 and KB2. On the other hand, you can do a Chatgpt fallback with AI generate card instead of Query KB card
Here it searches answer from Chatgpt instead of google
f
👍
It should be close to this:

https://www.youtube.com/watch?v=Q2VMitD6DMU

p
Thanks for the Help
f
One team 🙂
20 Views