Users inquired about deleting files uploaded for AI Personas in Discourse, noting that while files can be removed from the Persona via PUT, they remain stored in the database. sam confirmed that file deletion is implemented: files are sent to a tombstone and purged after a retention period — matching the 48-hour grace period described in Discourse’s Understanding Uploads, Images, and Attachments guide sam. MachineScholar highlighted security concerns around immediate deletion, especially for edge cases like rapidly removing personalized RAG chatbots. sam clarified that while embeddings are wiped immediately upon removal, the uploaded file itself remains until retention expires — though early deletion isn’t ruled out, it’s considered a niche requirement. MachineScholar acknowledged the clarification and noted their use case involves many dynamic RAG bots, making immediate purge desirable but uncommon.
Are there plans to be able to manage the files that are uploaded to discourse? I did notice that I can remove the file from the Persona by using the PUT method, but the file is still actually stored in the database with no way to remove it as far as I can tell.
I’m curious about this as well. This seems to be quite a limitation in regard to making a rag persona. Bit I imagine that playing with the vector database is gonna make things real tricky
That’s splendid! But yes, I know that we for example have many edge cases where it would be best to just wipe the embeddings immediately just for security reasons.
Ah okay I see now. Thank you very much for this information . We will be having a high number of personalized RAG chatbots, and there may be times when they have to suddenly be removed. Certainly our use case is a niche edge case in and of itself anyway