Skip to content

Commit 844a61e

Browse files
committed
Adjusting default search assistant
1 parent 81d04db commit 844a61e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: backend/onyx/seeding/personas.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ personas:
1414
# Default number of chunks to include as context, set to 0 to disable retrieval
1515
# Remove the field to set to the system default number of chunks/tokens to pass to Gen AI
1616
# Each chunk is 512 tokens long
17-
num_chunks: 10
17+
num_chunks: 25
1818
# Enable/Disable usage of the LLM chunk filter feature whereby each chunk is passed to the LLM to determine
1919
# if the chunk is useful or not towards the latest user query
2020
# This feature can be overriden for all personas via DISABLE_LLM_DOC_RELEVANCE env variable
21-
llm_relevance_filter: true
21+
# Disabling by default since for many deployments, it causes the user to hit rate limits with
22+
# their LLM provider (e.g. Azure) or causes extremely slow results (Ollama).
23+
llm_relevance_filter: false
2224
# Enable/Disable usage of the LLM to extract query time filters including source type and time range filters
2325
llm_filter_extraction: true
2426
# Decay documents priority as they age, options are:

0 commit comments

Comments
 (0)