ragflow/api/apps
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
..
sdk Feat: Add Duplicate ID Check and Update Deletion Logic (#6376) 2025-03-21 14:05:17 +08:00
__init__.py Refa: enlarge default max request body size. (#6088) 2025-03-14 15:21:08 +08:00
api_app.py Introduced task priority (#6118) 2025-03-14 23:43:46 +08:00
canvas_app.py Feat: add agent share team viewer (#6222) 2025-03-19 19:04:13 +08:00
chunk_app.py Code refactor (#5371) 2025-02-26 15:40:52 +08:00
conversation_app.py Fix: Correct parameter retrieval in thumbup api (#6114) 2025-03-17 16:02:53 +08:00
dialog_app.py Support chat solo. (#5218) 2025-02-21 12:24:02 +08:00
document_app.py Introduced task priority (#6118) 2025-03-14 23:43:46 +08:00
file2document_app.py Added static check at PR CI (#3921) 2024-12-08 21:23:51 +08:00
file_app.py Added static check at PR CI (#3921) 2024-12-08 21:23:51 +08:00
kb_app.py Ignore exceptions when no index ahead. (#5047) 2025-02-18 09:09:22 +08:00
llm_app.py Refa: refine the error message. (#6151) 2025-03-17 13:07:22 +08:00
system_app.py Feat: Add user registration toggle feature (#6327) 2025-03-21 09:38:15 +08:00
tenant_app.py Update team invite message (#4085) 2024-12-18 14:20:09 +08:00
user_app.py Feat: Add user registration toggle feature (#6327) 2025-03-21 09:38:15 +08:00