Need a error message displatyed multiple times if ...
# 🤝help
o
Hey Guys, if the bot not able to answer the question the 1st time, it is throwing a msg(i have added a validation message) if i want this same message again if it is not in the knowledge base, what is the solution. Tried Expression as well but that also is not working. Please help urgent
c
Could you provide us a little bit more information ? Adding the logs as a screenshot, your expression or ai task would help us understand the issue. 🙏
o
Below is the error message i got:

https://cdn.discordapp.com/attachments/1136664646078705664/1136908042181558302/image.png

AI task input Run the below task only if there is no answer from the knowldege base If there is no answer from the Knowledge base. I apologize for not being able to answer your question. I am a Social Media Marketing AI chat bot, and I can only help you with questions related to social media marketing. Please ask me something that is relevant to my domain of expertise.
In simple words- I want to have an error handling check where if the user asks a question which is not in the knowledge base, it should print a normal saying"Please ask relevant questions", if there is an answer from the knowledge base it should not thorugh this error. Currently it is throwing this error even when there is a response from Knowledge base. Can you please provide some suggestions on how to solve this issue
Also i tried to add an expression in the node and then put the AI task in the another node to split the execution, still does not work.
@colossal-egg-20510 - Please look into this once
@colossal-egg-20510 - Anything?
c
Sorry for the delay, here's an example of a flow to do what you are trying to archive.

https://cdn.discordapp.com/attachments/1136664646078705664/1138198288022114465/image.png

https://cdn.discordapp.com/attachments/1136664646078705664/1138198288399605882/image.png

o
Oh ok. Thanks i will try and let you know. Thank you so much.
2 Views