https://discord.gg/botpress logo
Knowledge base isn't cleared when files are delete...
# 🤝help
b
p
I'm not encountering the same behaviour. Have you cleared your cache and republished your bot?
b
how do i clear the cache?
p
in your browser's settings
b
yea I tried republishing and opened the chat in a new private browser window and still seeing the same problem
p
What search mechanism (card and node) are you using?
b
Using an autonomous node and Search Knowledge Base card
Are you able to reproduce it if you press Auto-optimize on the knowledge base?
p
In the emulator, when you test it, what does the inspect pop-up say?
it shows that it still has knowledge in the KB
p
Can you try the query Kb card ina standard node to see whether it also can find the deleted info?
Any luck on reproducing this?
p
Have you tried adding an empty rich text source to it and testing it again? I haven't been able to reproduce this but you could send me a report id so I can check out your actual bot.
b
report_01JVD6B8SJ5MB7XCYF09RGE7Q1
thanks!
please don't change any of the knowledge bases and files besides the default knowledge base
p
My changes wouldn't affect your actual bot. I'll take a look:))
b
yea go ahead and delete it
p
It seems like the information I asked can't be found in the default KB, but to be sure, can you provide me with a question?
b
try the query "fire keeps going out"
b
are you able to reproduce if you upload a document, then Auto-optimize, then delete the document, and run the query?
p
No, still no answer found even when auto-optimizing the kb before deleting its contents. You could try exporting and re-importing the bot?
b
At this point we've had to add more documents to the knowledge base and I don't want to delete them, so I think we'll just move on and if we see the bug again we can reopen this issue. Thank you for looking into this!
p
Alright, no worries!
2 Views