Set DEFAULT_HISTORY_TURNS to 0
This commit is contained in:
parent
61c27c7c19
commit
8103b200db
3 changed files with 4 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ OLLAMA_EMULATING_MODEL_TAG=latest
|
||||||
########################
|
########################
|
||||||
# LLM responde cache for query (Not valid for streaming response
|
# LLM responde cache for query (Not valid for streaming response
|
||||||
ENABLE_LLM_CACHE=true
|
ENABLE_LLM_CACHE=true
|
||||||
# HISTORY_TURNS=3
|
# HISTORY_TURNS=0
|
||||||
# COSINE_THRESHOLD=0.2
|
# COSINE_THRESHOLD=0.2
|
||||||
### Number of entities or relations retrieved from KG
|
### Number of entities or relations retrieved from KG
|
||||||
# TOP_K=40
|
# TOP_K=40
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ DEFAULT_CHUNK_TOP_K = 10
|
||||||
DEFAULT_MAX_ENTITY_TOKENS = 10000
|
DEFAULT_MAX_ENTITY_TOKENS = 10000
|
||||||
DEFAULT_MAX_RELATION_TOKENS = 10000
|
DEFAULT_MAX_RELATION_TOKENS = 10000
|
||||||
DEFAULT_MAX_TOTAL_TOKENS = 32000
|
DEFAULT_MAX_TOTAL_TOKENS = 32000
|
||||||
DEFAULT_HISTORY_TURNS = 3
|
DEFAULT_HISTORY_TURNS = 0
|
||||||
DEFAULT_ENABLE_RERANK = True
|
DEFAULT_ENABLE_RERANK = True
|
||||||
DEFAULT_COSINE_THRESHOLD = 0.2
|
DEFAULT_COSINE_THRESHOLD = 0.2
|
||||||
DEFAULT_RELATED_CHUNK_NUMBER = 10
|
DEFAULT_RELATED_CHUNK_NUMBER = 10
|
||||||
|
|
|
||||||
|
|
@ -271,7 +271,8 @@ const useSettingsStoreBase = create<SettingsState>()(
|
||||||
max_entity_tokens: 10000,
|
max_entity_tokens: 10000,
|
||||||
max_relation_tokens: 10000,
|
max_relation_tokens: 10000,
|
||||||
max_total_tokens: 32000,
|
max_total_tokens: 32000,
|
||||||
enable_rerank: true
|
enable_rerank: true,
|
||||||
|
history_turns: 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return state
|
return state
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue