ragflow/rag
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
..
app Feat: add support for multi-column PDF parsing (#10475) 2025-10-11 18:46:09 +08:00
flow Feat: let toc run asynchronizly... (#10513) 2025-10-14 14:14:52 +08:00
llm Fix problem with Google Cloud models with reasoning (like gemini) - Additional fix to issue #10474 (#10502) 2025-10-15 14:54:20 +08:00
nlp Don't rerank for infinity (#10579) 2025-10-15 20:15:49 +08:00
prompts Fix: canvas list with team. (#10549) 2025-10-14 19:38:54 +08:00
res Refa: add result to callback for agent tool use. (#9137) 2025-08-01 21:49:39 +08:00
svr Feat: let toc run asynchronizly... (#10513) 2025-10-14 14:14:52 +08:00
utils Improve file management (#10577) 2025-10-16 09:38:25 +08:00
__init__.py
benchmark.py Fix typos: retrievaler -> retriever (#10372) 2025-10-10 09:17:36 +08:00
raptor.py Refactor: based on async await to handle Redis when raptor (#9576) 2025-08-22 10:58:02 +08:00
settings.py Refactor: move some functions out of api/utils/__init__.py (#10216) 2025-09-25 18:04:49 +08:00