ragflow/api/apps/sdk
liwenju0 efdfb39a33
Feat: Add Duplicate ID Check and Update Deletion Logic (#6376)
- Introduce the `check_duplicate_ids` function in `dataset.py` and
`doc.py` to check for and handle duplicate IDs.
- Update the deletion operation to ensure that when deleting datasets
and documents, error messages regarding duplicate IDs can be returned.
- Implement the `check_duplicate_ids` function in `api_utils.py` to
return unique IDs and error messages for duplicate IDs.


### What problem does this PR solve?

Close https://github.com/infiniflow/ragflow/issues/6234

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: wenju.li <wenju.li@deepctr.cn>
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
2025-03-21 14:05:17 +08:00
..
agent.py Added static check at PR CI (#3921) 2024-12-08 21:23:51 +08:00
chat.py Fix: Add Knowledge Base Document Parsing Status Check (#5966) 2025-03-12 16:07:45 +08:00
dataset.py Feat: Add Duplicate ID Check and Update Deletion Logic (#6376) 2025-03-21 14:05:17 +08:00
dify_retrieval.py Code refactor (#5371) 2025-02-26 15:40:52 +08:00
doc.py Feat: Add Duplicate ID Check and Update Deletion Logic (#6376) 2025-03-21 14:05:17 +08:00
session.py Fix: miss url path. (#6211) 2025-03-18 14:02:57 +08:00