https://discord.gg/botpress logo
Huge bot size
# 🤝help
p
Hi, I have a size of 100 MB bot, but I just have a few cards and flows, nothing special. No idea, why its size growing like this. Any idea, what and why increases the size? Or how can I decrease it? Thanks.
If I delete all cards and nodes, it will still be the same size.
b
do you have knowledge base files uploaded?
p
Yes, I used a PDF file, but it is less then 200KByte, only 9 pages without image, text only.
e
Any update on that? Did you fixe it? Yesterday I got an error when publishing my bot. Then, different errors when trying to access it again. So when I get in the studio, I exported it as soon as I could. The exported bot file is now 20mo.
p
I started building my bot from scratch to find the issue. After uploading a knowledge base file, the bot became larger as I added more AI tasks. I'm still testing and checking. I think my original bot will be extra large forever, I deleted all nodes, and the size didn't change, or just a few kilobytes less.
e
What I undestand is that more AI Task you use, more bigger became the Bot? Does it make sens?
p
Yes, because when I want to export, it takes a long time, and after that, I get a failure message with error code 500.