- Implement description length comparison in gleaning merge logic (extract_entities) - Apply same logic to knowledge graph reconstruction (_rebuild_knowledge_from_chunks) - Prioritize entities/relationships with longer descriptions for better quality - Use list() instead of extend() for performance optimization when replacing |
||
|---|---|---|
| .. | ||
| api | ||
| kg | ||
| llm | ||
| tools | ||
| __init__.py | ||
| base.py | ||
| constants.py | ||
| exceptions.py | ||
| lightrag.py | ||
| namespace.py | ||
| operate.py | ||
| prompt.py | ||
| rerank.py | ||
| types.py | ||
| utils.py | ||
| utils_graph.py | ||