mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-12 15:27:22 +00:00
Set DEFAULT_HISTORY_TURNS to 0
This commit is contained in:
parent
61c27c7c19
commit
8103b200db
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user