My knowledge base and Stack Ai is not able to answ...
# 🤝help
s
how would i get my bot to return something like 'sorry im not sure what you mean by that' or 'could you ask that again ?' after a user types a question which my knowlege base and stack AI cant answer . such as they ask a completely unrelated question or just type jibberish .
b
hiiiii
for when your bot is unable to respond from a knowledge base query, you can send a simple send message card
you would do this by: 1. checking if the bot was able to answer via knowledge base 2. if not, send a "send message" card that says whatever you'd like
you can check if your bot has the answer to a knowledge base using the variable {{turn.KnowledgeAgent.responded}}
and if it's false, add ! to the front
I actually uploaded a video about this today
you might find it helpful:

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

10 Views