Increase default LLM summary merge threshold from 4 to 8 for reducing summary trigger frequency

This commit is contained in:
yangdx 2025-08-26 03:57:35 +08:00
parent 9eb2be79b8
commit 84416d104d
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ ENABLE_LLM_CACHE_FOR_EXTRACT=true
# CHUNK_OVERLAP_SIZE=100
### Number of summary semgments or tokens to trigger LLM summary on entity/relation merge (at least 3 is recommented)
# FORCE_LLM_SUMMARY_ON_MERGE=4
# FORCE_LLM_SUMMARY_ON_MERGE=8
### Number of tokens to trigger LLM summary on entity/relation merge
# SUMMARY_MAX_TOKENS = 500
### Maximum context size sent to LLM for description summary

View file

@ -14,7 +14,7 @@ DEFAULT_MAX_GRAPH_NODES = 1000
DEFAULT_SUMMARY_LANGUAGE = "English" # Default language for summaries
DEFAULT_MAX_GLEANING = 1
DEFAULT_FORCE_LLM_SUMMARY_ON_MERGE = 4
DEFAULT_FORCE_LLM_SUMMARY_ON_MERGE = 8
DEFAULT_SUMMARY_MAX_TOKENS = 500 # Max token size for entity/relation summary
DEFAULT_SUMMARY_CONTEXT_SIZE = 10000 # Default maximum token size