Quick fix to limit source_id ballooning while inserting nodes
(cherry picked from commit 7871600d8a)
This commit is contained in:
parent
b9fc6f19dd
commit
f742ba0220
1 changed files with 0 additions and 10 deletions
|
|
@ -15,16 +15,6 @@ DEFAULT_SUMMARY_LANGUAGE = "English" # Default language for document processing
|
||||||
DEFAULT_MAX_GLEANING = 1
|
DEFAULT_MAX_GLEANING = 1
|
||||||
DEFAULT_MAX_CHUNK_IDS_PER_ENTITY = 500 # Applies to Both Graph + Vector DBs
|
DEFAULT_MAX_CHUNK_IDS_PER_ENTITY = 500 # Applies to Both Graph + Vector DBs
|
||||||
|
|
||||||
DEFAULT_MAX_SOURCE_IDS_PER_ENTITY = 3
|
|
||||||
DEFAULT_MAX_SOURCE_IDS_PER_RELATION = 3
|
|
||||||
SOURCE_IDS_LIMIT_METHOD_KEEP = "KEEP"
|
|
||||||
SOURCE_IDS_LIMIT_METHOD_FIFO = "FIFO"
|
|
||||||
DEFAULT_SOURCE_IDS_LIMIT_METHOD = SOURCE_IDS_LIMIT_METHOD_KEEP
|
|
||||||
VALID_SOURCE_IDS_LIMIT_METHODS = {
|
|
||||||
SOURCE_IDS_LIMIT_METHOD_KEEP,
|
|
||||||
SOURCE_IDS_LIMIT_METHOD_FIFO,
|
|
||||||
}
|
|
||||||
|
|
||||||
# Number of description fragments to trigger LLM summary
|
# Number of description fragments to trigger LLM summary
|
||||||
DEFAULT_FORCE_LLM_SUMMARY_ON_MERGE = 8
|
DEFAULT_FORCE_LLM_SUMMARY_ON_MERGE = 8
|
||||||
# Max description token size to trigger LLM summary
|
# Max description token size to trigger LLM summary
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue