https://discord.gg/botpress logo
Knowledge Base Query seems Bugged
# 🤝help
b
Objective - I'm trying to understand why the KB search goes to "Answer not found" exit when there's clear answer, and condition from the card points towards a clear direction "Answer_found exit" Issue - My AI has been having some issue getting the answers it needs, and this could be the source of the problem as there's a clear answer and the KB search workflow I created using the Advanced tutorial youtube video from Botpress, personally seems flawed Solutions - I've tried re-formulating the expression, creating a "Get Records" card (which i dont fully understand nor find enough information on the botpress docs, or youtube) - I've re-propmted multiple times my AI thinking the issue was there, but although I throws correct answers now with the expression I'm showing you in the screenshots, I'm just trying to understand the why is going to a place logically makes no sense to me? I just want to know why is going there... https://cdn.discordapp.com/attachments/1383563031706992651/1383563032575082596/imagen_2025-06-14_163123733.png?ex=68552dbc&is=6853dc3c&hm=bae0dcfe4d446b1cc3739d667d39c9a2c398145fc40af370725107ccd6f69130& https://cdn.discordapp.com/attachments/1383563031706992651/1383563033204490240/imagen_2025-06-14_163805182.png?ex=68552dbc&is=6853dc3c&hm=c818e0055a2aa4c25b70499de51daab04db39a7683da9607f5996c29401fcac9& https://cdn.discordapp.com/attachments/1383563031706992651/1383563033690771486/imagen_2025-06-14_164232500.png?ex=68552dbc&is=6853dc3c&hm=f9bc2c01cf1a80d8ab0c9f1ba058be92706911278b7e34298126faab36eef3ea&
p
Could you send a report Id?
b
how?
p
The resource button on the left allows you to report a problem. You should fill out information about it and it then generates the id which you should paste here for me to take a look at your bot.
b
Alriight! let me do it
report_01JXWQD2JSXCF3ZJ8CWG6CJ09Q
@prehistoric-airplane-85682 is it just a bug?
p
When I tried your bot an issue arose where your educator autonomous node never transitioned to kb search workflow because it had all the tools to find the info itself. Now for your transition, an alternative would be trying {{workflow.KBanswer.length >0}} which would indicate an answer was found.
b
Thank you very much, I will try...