reduce RELATED_CHUNK_NUMBER from 10 to 5

This commit is contained in:
yangdx 2025-07-24 02:49:05 +08:00
parent 5a5d32dc32
commit 2c940f0728
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ ENABLE_LLM_CACHE=true
### control the maximum tokens send to LLM (include entities, raltions and chunks)
# MAX_TOTAL_TOKENS=32000
### maxumium related chunks grab from single entity or relations
# RELATED_CHUNK_NUMBER=10
# RELATED_CHUNK_NUMBER=5
### Reranker configuration (Set ENABLE_RERANK to true in reranking model is configed)
ENABLE_RERANK=False

View file

@ -21,7 +21,7 @@ DEFAULT_MAX_TOTAL_TOKENS = 32000
DEFAULT_HISTORY_TURNS = 0
DEFAULT_ENABLE_RERANK = True
DEFAULT_COSINE_THRESHOLD = 0.2
DEFAULT_RELATED_CHUNK_NUMBER = 10
DEFAULT_RELATED_CHUNK_NUMBER = 5
# Separator for graph fields
GRAPH_FIELD_SEP = "<SEP>"