fix:hard-coded top-k fallback issue. (#24879)

This commit is contained in:
Frederick2313072
2025-09-01 15:46:37 +08:00
committed by GitHub
parent d41d4deaac
commit 5b3cc560d5
11 changed files with 16 additions and 16 deletions

View File

@@ -78,7 +78,7 @@ default_retrieval_model = {
"search_method": RetrievalMethod.SEMANTIC_SEARCH.value,
"reranking_enable": False,
"reranking_model": {"reranking_provider_name": "", "reranking_model_name": ""},
"top_k": 2,
"top_k": 4,
"score_threshold_enabled": False,
}