ragflow/rag/utils
Yongteng Lei 86b254d214
Improve file management (#10577)
### What problem does this PR solve?

Improve file management. #10287.

Passed tests:

1. Create folder `A` and `B`.
2. Upload a file inside `A`, called `file`.
3. Create a KB, called `K`.
3. Link `file` to `K`.
4. Parse `file` inside of `K`. (OK)
5. Move `file` from `A` to `B`.
6. Parse `file` inside of `K`. (OK)
7. Move `file` from `B` to `A`.
8. Parse `file` inside of `K`. (OK)
9. Move entire folder `A` into `B`. (B -> A -> file)
10. Parse `file` inside of `K`. (OK)
11. Delete folder `B`.
12. All clear. (There is no document inside of `K`)

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-10-16 09:38:25 +08:00
..
__init__.py Refactor: improve cv model logics (#10414) 2025-10-09 09:47:36 +08:00
azure_sas_conn.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
azure_spn_conn.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
doc_store_conn.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
es_conn.py Feat/service manage (#10381) 2025-09-30 16:23:09 +08:00
infinity_conn.py Don't rerank for infinity (#10579) 2025-10-15 20:15:49 +08:00
mcp_tool_call_conn.py Feat: init dataflow. (#9791) 2025-08-28 18:40:32 +08:00
minio_conn.py Improve file management (#10577) 2025-10-16 09:38:25 +08:00
opendal_conn.py Refactor: move some functions out of api/utils/__init__.py (#10216) 2025-09-25 18:04:49 +08:00
opensearch_conn.py Bug fix: OpenSearch chunk update some api error (#9032) 2025-07-25 09:57:24 +08:00
oss_conn.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
redis_conn.py Feat/service manage (#10381) 2025-09-30 16:23:09 +08:00
s3_conn.py Fix S3 client initialization with signature_version and addressing_style (#9911) 2025-09-05 09:58:30 +08:00
storage_factory.py Oss support opendal(including mysql) (#8204) 2025-06-12 11:37:42 +08:00
tavily_conn.py Feat: apply LLM to optimize citations. (#5935) 2025-03-11 19:56:21 +08:00