Update webui setting
This commit is contained in:
parent
4705a22861
commit
e1541caea9
2 changed files with 3 additions and 1 deletions
|
|
@ -2500,6 +2500,8 @@ async def naive_query(
|
|||
source_type="vector",
|
||||
)
|
||||
|
||||
logger.info(f"Final context: {len(processed_chunks)} chunks")
|
||||
|
||||
# Build text_units_context from processed chunks
|
||||
text_units_context = []
|
||||
for i, chunk in enumerate(processed_chunks):
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ const useSettingsStoreBase = create<SettingsState>()(
|
|||
mode: 'global',
|
||||
response_type: 'Multiple Paragraphs',
|
||||
top_k: 10,
|
||||
max_token_for_text_unit: 4000,
|
||||
max_token_for_text_unit: 6000,
|
||||
max_token_for_global_context: 4000,
|
||||
max_token_for_local_context: 4000,
|
||||
only_need_context: false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue