ragflow/graphrag
f0 fb1bedbd3c
fix(_handle_entity_relation_summary): correctly calculate the descriptions_list (#10534)
### What problem does this PR solve?

Since `description_list` was a tuple containing a single element (which
was the actual list of descriptions), `len(description_list)` was always
**1**.

The subsequent check:
`if len(description_list) <= 12:` always evaluated to `True` (since $1
\le 12$), even if the inner list contained more than 12 descriptions.
This prevented the necessary summarization logic from running for long
lists.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-10-15 15:30:06 +08:00
..
general fix(_handle_entity_relation_summary): correctly calculate the descriptions_list (#10534) 2025-10-15 15:30:06 +08:00
light Fix typos: retrievaler -> retriever (#10372) 2025-10-10 09:17:36 +08:00
__init__.py Cache the result from llm for graphrag and raptor (#4051) 2024-12-17 09:48:03 +08:00
entity_resolution.py typo: fix _entity_index_dilimiter_key to entity_index_delimiter_key (#10465) 2025-10-10 18:36:00 +08:00
entity_resolution_prompt.py
query_analyze_prompt.py Light GraphRAG (#4585) 2025-01-22 19:43:14 +08:00
search.py code cleans. (#9916) 2025-09-05 09:59:27 +08:00
utils.py Feat: TOC retrieval (#10456) 2025-10-10 17:07:55 +08:00