From aea24dee43edadec747ef72aeeeceec704c3e032 Mon Sep 17 00:00:00 2001 From: trducng Date: Tue, 18 Jun 2024 20:17:41 +0700 Subject: [PATCH] fix(ui): remove the misleading message about non-retrieved evidences --- libs/ktem/ktem/reasoning/simple.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/libs/ktem/ktem/reasoning/simple.py b/libs/ktem/ktem/reasoning/simple.py index 56318b38..14a5357a 100644 --- a/libs/ktem/ktem/reasoning/simple.py +++ b/libs/ktem/ktem/reasoning/simple.py @@ -732,12 +732,6 @@ class FullQAPipeline(BaseReasoning): for _ in with_citation: self.report_output(_) if without_citation: - self.report_output( - Document( - channel="info", - content="Retrieved segments without matching evidence:\n", - ) - ) for _ in without_citation: self.report_output(_) @@ -774,13 +768,6 @@ class FullQAPipeline(BaseReasoning): for _ in with_citation: yield _ if without_citation: - yield Document( - channel="info", - content=( - "
Retrieved segments without matching evidence:" - "

" - ), - ) for _ in without_citation: yield _ yield Document(