From 5fc59a3132fd6a246824a9004cf536ae37521113 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Mon, 20 Oct 2025 11:37:18 +0800 Subject: [PATCH] Fix: retrieval test (#10662) ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- api/apps/chunk_app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/apps/chunk_app.py b/api/apps/chunk_app.py index bd79e6e38..43f7766dd 100644 --- a/api/apps/chunk_app.py +++ b/api/apps/chunk_app.py @@ -350,7 +350,8 @@ def retrieval_test(): float(req.get("similarity_threshold", 0.0)), float(req.get("vector_similarity_weight", 0.3)), top, - doc_ids, rerank_mdl=rerank_mdl, highlight=req.get("highlight"), + doc_ids, rerank_mdl=rerank_mdl, + highlight=req.get("highlight", False), rank_feature=labels ) if use_kg: