https://discord.gg/botpress logo
Help with no answered questions
# šŸ¤help
v
Hello! I've been trying for two days long how to save unanswered questions but I still can't. Idk why the bot is always answering even if it doesn't have an that answer inside the kb. The answer is always "It seems I dont have that info in my data base but i can help you with something else", i can't make the workflow to end in the nod "Notanswerdetected". Can someone give a help here please? https://cdn.discordapp.com/attachments/1407784195870429235/1407784196403101706/image.png?ex=68a75cb3&is=68a60b33&hm=af6f835e9976f613b96b6634737e5207a13f0b7b1a8279a141e7a692991388ea&
l
Hello! I’d recommend checking for a missing answer in the KB using simple natural language. Instead of checking for an empty KnowledgeAgent citation using code in the Transition card, you can instead simply write ā€œIf no information was found in the knowledge baseā€ as the Transition’s condition. Make sure you add something like, ā€œIf the user asks a question and you don't find any valid information in the knowledge base, fire the appropriate transition.ā€œ in the Autonomous Node’s instructions. That should get you to to the NoAnswerDetected node.