Pls do not use /delete_document API endpoint
This commit is contained in:
parent
5ae945c1e5
commit
8b6dcfb6eb
1 changed files with 4 additions and 0 deletions
|
|
@ -1376,10 +1376,14 @@ def create_document_routes(
|
|||
dependencies=[Depends(combined_auth)],
|
||||
summary="Delete a document and all its associated data by its ID.",
|
||||
)
|
||||
|
||||
# TODO This method needs to be modified to be asynchronous (please do not use)
|
||||
async def delete_document(
|
||||
delete_request: DeleteDocRequest,
|
||||
) -> DeleteDocByIdResponse:
|
||||
"""
|
||||
This method needs to be modified to be asynchronous (please do not use)
|
||||
|
||||
Deletes a specific document and all its associated data, including its status,
|
||||
text chunks, vector embeddings, and any related graph data.
|
||||
It is disabled when llm cache for entity extraction is disabled.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue