https://discord.gg/botpress logo
add the option to delete files from bot files
# 👀feature-requests
r
first we would like to say thank you Botprees team! its great to see that we have the ability to upload files to the bot, but what about delete them when we dont need it? or when someone sending a big one? https://cdn.discordapp.com/attachments/1346120698648723496/1346120699055575130/image.png?ex=67c70818&is=67c5b698&hm=56ea7eccb18e598e427a1fa0b0044a00d2dadbe6f45d18686276e33cfbb68f33&
f
Would be nice to have the option to also do it from there. I just use the Delete file endpoint https://botpress.com/reference/deletefile
r
Can be much easier from the files table itself
o
@rhythmic-lizard-47527 If you had indexed the file (meaning it went to your knowledge base), after deleting the file from the knowledge base in the bot, it should also delete it from the Files table itself
Hope this helps
However, if it wasn't indexed and thus the file doesn't pertain to any particular knowledge base, then yes you would have to do what @fresh-fireman-491 said
does that make sense?
f
The KB in the studio is not great to use for this. We have around 7000 files, and it is hard to find a specific one, and some times we run out of memory.
r
my thought was that this is for storage too and not only for KB also, i agree with @fresh-fireman-491 its very hard to handle like this tons of files
2 Views