https://discord.gg/botpress logo
Knowledge Base Document Corruption
# 🤝help
b
Hi, I am uploading .md documents to my knowledge base and each time on upload they are corrupting - content missing, content being reordered, content being edited. I have tried smaller documents with less content in them, .md, .txt, .pdf and .docx files and I'm having the same issue every time. I uploaded 20+ documents a month ago and had no issues. However today, I can't uploaded anything successfully without the content corrupting. The content is tutorial and troubleshooting instructions for an app so needs to remain 100% accurate and unchanged. I am having to currently run my bot without important info in the knowledge base, as the content I am trying to upload becomes so changed and corrupted it is no use for my autonomous nodes. Does anyone have any ideas about how to turn off any document optimisation Botpress is running or any document formats which are more foolproof so my content remains intact? Thanks in advance
l
Check the file and vector storage, are they full?
p
Could you share example of the corruption you are seeing?
b
@limited-pencil-78283 No not full, heaps and heaps of storage space available 🙂
@prehistoric-airplane-85682 Here are 2 screenshots - 1 of my doc (showing the first page of my document) and 1 of the file viewed in bot press. You can see the missing titles, missing summary, missing headings, reordered content, missing content etc. I have also tried different browsers/incognito windows to make sure there wasn't a display caching issue with the "document view" but the issues are occurring in different browsers. Any troubleshooting suggestions much appreciated. https://cdn.discordapp.com/attachments/1402816255165075547/1403163656090554659/Screenshot_2025-08-08_at_11.48.06_AM.png?ex=68968d7d&is=68953bfd&hm=ce149895105cb44e27eef00dfd1a26f1f50bb27dfe38860436cfed700d3fe26c& https://cdn.discordapp.com/attachments/1402816255165075547/1403163656446803998/Screenshot_2025-08-08_at_11.48.43_AM.png?ex=68968d7d&is=68953bfd&hm=e3e76a756cfd51cc1c229b887eaa3f1ce5bf924c7e8067f6281616f4fc4c24aa&
t
same problem here. However, the chunks missing from the display are found when searching the KBs, so it appears to be just a display bug.
b
@prehistoric-airplane-85682 Did you have any further insights into this issue? Many thanks
p
I would recommend using the rich text option in which you can paste your entire document. Hope this helps!