WhatsApp bot answering questions not in the knowle...
# šŸ¤help
m
I setup a basic workflow to query a KB using a downloaded Wikipedia article PDF from the movie blade runner. I then followed the BotPress guide to setup WhatsApp and connected to the bot. But I asked a question that it should not have an answer to and it gave me an answer. How could this happen as I have KB enabled on the node. I also asked a question that I should have an answer to and it just went back the start of the workflow. I’ve attached the conversation with the bot to show an example of my issues.

https://cdn.discordapp.com/attachments/1146398811535712348/1146398812315848714/IMG_1067.pngā–¾

https://cdn.discordapp.com/attachments/1146398811535712348/1146398812676562975/IMG_1068.pngā–¾

f
You shoudl give a try adding a personality to your bot and set a condition like the images

https://cdn.discordapp.com/attachments/1146398811535712348/1146459803909095516/Web_capture_30-8-2023_85925_studio.botpress.cloud.jpegā–¾

https://cdn.discordapp.com/attachments/1146398811535712348/1146459804261421056/Web_capture_30-8-2023_8591_studio.botpress.cloud.jpegā–¾

@most-oil-31163
m
I’ll take a screenshot from my workflow to show the setup
Here's a screenshot of my workflow...

https://cdn.discordapp.com/attachments/1146398811535712348/1146751305700868186/Screenshot_2023-08-31_221934.pngā–¾

And here's the KB (PDF file)...

https://cdn.discordapp.com/attachments/1146398811535712348/1146751730940399726/Screenshot_2023-08-31_222126.pngā–¾

f
I believe is due to the logic path in the workflow. You can watch this video where it explains how to properly set the KB based bot

https://www.youtube.com/watch?v=tH3oBYzArfwā–¾

https://cdn.discordapp.com/attachments/1146398811535712348/1146802402012434442/image.pngā–¾

m
Thanks, I've seen that video previously - the Botpress emulator works fine and gives me all the expected responses. So I think its something else going on
2 Views