Skip to content

[FEAT]: Improve API remove documents /v1/system/remove-documents #1895

Description

@byzheng

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

This is a following question (#1894). But I think it would be better to separately report.

After adding a new document with document/raw-text API, I want to remove this document with /system/remove-documents. There is some trouble to remove this document with names property in the DELETE request.

If id is used (i.e. 99502983-20fa-4cd1-bef5-e17cd0c56dae, I get an success response, but the document is still in the workspace.

Then I test the name retrieved from document api, i.e. raw-title-99502983-20fa-4cd1-bef5-e17cd0c56dae.json or ``

Are there known steps to reproduce?

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions