Set DEFAULT_HISTORY_TURNS to 0

This commit is contained in:
yangdx 2025-07-16 02:20:27 +08:00
parent 61c27c7c19
commit 8103b200db
3 changed files with 4 additions and 3 deletions

View File

@ -50,7 +50,7 @@ OLLAMA_EMULATING_MODEL_TAG=latest
########################
# LLM responde cache for query (Not valid for streaming response
ENABLE_LLM_CACHE=true
# HISTORY_TURNS=3
# HISTORY_TURNS=0
# COSINE_THRESHOLD=0.2
### Number of entities or relations retrieved from KG
# TOP_K=40

View File

@ -18,7 +18,7 @@ DEFAULT_CHUNK_TOP_K = 10
DEFAULT_MAX_ENTITY_TOKENS = 10000
DEFAULT_MAX_RELATION_TOKENS = 10000
DEFAULT_MAX_TOTAL_TOKENS = 32000
DEFAULT_HISTORY_TURNS = 3
DEFAULT_HISTORY_TURNS = 0
DEFAULT_ENABLE_RERANK = True
DEFAULT_COSINE_THRESHOLD = 0.2
DEFAULT_RELATED_CHUNK_NUMBER = 10

View File

@ -271,7 +271,8 @@ const useSettingsStoreBase = create<SettingsState>()(
max_entity_tokens: 10000,
max_relation_tokens: 10000,
max_total_tokens: 32000,
enable_rerank: true
enable_rerank: true,
history_turns: 0,
}
}
return state