You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in this as well. There's a functionality that allows setting your own IDs per document(s) on insert #892. So, even though, that's quite tedious to manage and keep track of, it allows deleting the documents from the DB. However, there's no metadata in knowledge graph and vector database that allows clearing entities and their relationships.
I think the right way to do it, would be to add an additional field to the schema of all tables, just like the workspace is and keep the document name in it. So that whenever you need to delete all entities, relations, document chunks and embeddings, you can call a corresponding method and pass that document name
Do you need to file an issue?
Describe the bug
Describe the bug
Document deletion through API and WebUI is not working properly:
/documents
endpoint only clears memory references but not database dataSteps to reproduce
Document Deletion Issues:
Through API:
/documents
Through WebUI:
Single Document:
Expected Behavior
Document Management:
DELETE
/documents
API should:WebUI document cleanup should:
Single document deletion should:
LightRAG Config Used
Logs and screenshots
No response
Additional Information
The text was updated successfully, but these errors were encountered: