feat: 去除工作流直接返回内容的标题数据
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled

This commit is contained in:
shaohuzhang1 2024-11-07 17:52:12 +08:00 committed by shaohuzhang1
parent 33d88954c6
commit 9a66044ec4

View File

@ -73,7 +73,7 @@ class BaseSearchDatasetNode(ISearchDatasetStepNode):
[f"{reset_title(paragraph.get('title', ''))}{paragraph.get('content')}" for paragraph in
paragraph_list])[0:dataset_setting.get('max_paragraph_char_number', 5000)],
'directly_return': '\n'.join(
[f"{reset_title(paragraph.get('title', ''))}{paragraph.get('content')}" for paragraph in
[paragraph.get('content') for paragraph in
result if
paragraph.get('is_hit_handling_method')]),
'question': question},