ragflow/rag
changqingla 4784aa5b0b
fix: List Chunks API fails to return the correct document status. (#8347)
### What problem does this PR solve?

The existing
/api/v1/datasets/{dataset_id}/documents/{document_id}/chunks endpoint
fails to accurately return a document's chunk status. Even when a chunk
is explicitly marked as unavailable, the API still returns true.

![img_v3_02nc_3458a1b7-609e-4f20-8cb7-2156a489848g](https://github.com/user-attachments/assets/ab3b8f69-1284-49c1-8af3-bdfae3416583)

![img_v3_02nc_82f1d96e-7596-4def-ba75-5a2bd10d56cg](https://github.com/user-attachments/assets/a8a4162b-b50d-4dfc-af72-e1d7812a0a93)

Co-authored-by: zhoudeyong <zhoudeyong@idr.ai>
2025-06-19 11:12:53 +08:00
..
app Fix typo in code (#8327) 2025-06-18 09:41:09 +08:00
llm Fix: Raptor: [Bug]: **ERROR**: Unknown field for GenerationConfig: max_tokens (#8331) 2025-06-18 16:40:57 +08:00
nlp fix(search.py):remove hard page_size (#8242) 2025-06-13 14:56:25 +08:00
res Update synonym dictionary file (#7997) 2025-06-03 09:41:53 +08:00
svr Fix: duplicated task (#8358) 2025-06-19 11:12:29 +08:00
utils fix: List Chunks API fails to return the correct document status. (#8347) 2025-06-19 11:12:53 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
benchmark.py Refactor embedding batch_size (#3825) 2024-12-03 16:22:39 +08:00
prompts.py Refa: chat with tools. (#8210) 2025-06-12 12:31:10 +08:00
raptor.py Fix task_limiter in raptor.py (#8124) 2025-06-09 10:18:03 +08:00
settings.py Feat: make document parsing and embedding batch sizes configurable via environment variables (#8266) 2025-06-16 13:40:47 +08:00