Progressively higher database errors
# 🤝help
a
"There are 37 documents in the database which are not used in your knowledge bases. They may affect your bot's answers" Every few hours when I go into Edit mode, the number of documents it's listing that are not being used in the database increases. I don't even have 37 documents in the Library. Any idea what's going on here?

https://cdn.discordapp.com/attachments/1146656701584506900/1146656701836169298/Screenshot_2023-08-30_at_21.02.19.png

j
just say remove documents
its bceuase you didnt clear your chat history with the bot
CLEAR YOUR CHAT HISTOY !
a
@jolly-policeman-82775 Thank you for the reply. Can you give me more info about the purpose/benefits of clearing chat history and how to implement it?
j
it keeps the memory if you dont clear it.
s
Im having this same issue also. I dont want to "remove documents" because that might effect my knowledge base. i think its a bug.
a
@straight-secretary-60237 I clicked removed and it's not impacting my Chat Bot ability to answer questions. I think the Botpress team needs to re-word that error to be less ambiguous.
s
@acoustic-fish-84489 that is good to hear! I would check testing you web deployment versions. It impacted my webchat deployment to have no KB. i had to make a new bot from scratch. it still worked in the dashboard and everything, except for when i had the code snippet on the actual website.
a
My KB still exists even after clicking the "Remove documents" button, including access on the website.
s
@acoustic-fish-84489 That is good to hear!