Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix duplicate function name (#2437)

Kevin Hu8a16c8cc44c7
diff --git a/api/apps/sdk/doc.py b/api/apps/sdk/doc.py
index ecade3c3df..423470a238 100644
--- a/api/apps/sdk/doc.py
+++ b/api/apps/sdk/doc.py
@@ -508,10 +508,11 @@ def create(tenant_id):
except Exception as e:
return server_error_response(e)
+
@manager.route('/chunk/rm', methods=['POST'])
@token_required
@validate_request("chunk_ids", "doc_id")
-def rm():
+def rm_chunk():
req = request.json
try:
if not ELASTICSEARCH.deleteByQuery(