Bot hangs often
# 🤝help
b
Hi all, I have a weird bug. I have an AI agency business, and the chatbot on the website hangs occasionally. It's quite embarrassing, as visitors open the chatbot and say hi and it just hangs there (often, the intro message doesn't show immediately). Sometimes it repeats the intro message. I checked the conversations tab in the dashboard and saw a lot of inconsistencies. Any idea why, or how I can troubleshoot it? Here's the site https://devobi.com if you want to try it out and let me know if it hangs/breaks/acts weird.
s
It's quite slow, but it didn't hang on me. What I didn't like was the lack of continuity in user interactions (screenshot). Bot requires me to press the button, adding several steps to get my desired answer. Try to react to buttons and user inputs. What KB do you have? Do you use data tables, or other source or a mix of them? Without looking at your design, I might only say that "strange behavior" might be related to the knowledgebase design, but I would need to see the logs and design to say something more. KB makes it slow. Sometimes, it might get timeouts and stall (pause) waiting for the user inputs. The timeout is tricky because the bot will not say anything, and it looks like it is not doing anything. Suggestion: Start from KB. Create a high-quality KB using tables (the best), and don't mix them (table, pdf, website, etc.). Lower the number of chunks the KB uses to provide an answer—start from 10-15 and go up until you get the expected results. By default, it's set to 50. https://cdn.discordapp.com/attachments/1247215176931872789/1247243908417589302/image.png?ex=665f51e8&is=665e0068&hm=2235e65aa209a7a040d7dc18822a789304da48d802d20fd0ac2f3ecafbacbbbd&
b
Thanks a lot, @square-toddler-30705 . The KB is both a PDF and the website. I ended up taking it down and switching to Flowise. Much more interactive and no lag/weird stuff. I might revisit it in the future when I get the chance.