Skip to content

Commit 7adfdf7

Browse files
committed
feat: 去除工作流直接返回内容的标题数据
1 parent 22cf23e commit 7adfdf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/step_node/search_dataset_node/impl/base_search_dataset_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def execute(self, dataset_id_list, dataset_setting, question,
7373
[f"{reset_title(paragraph.get('title', ''))}{paragraph.get('content')}" for paragraph in
7474
paragraph_list])[0:dataset_setting.get('max_paragraph_char_number', 5000)],
7575
'directly_return': '\n'.join(
76-
[f"{reset_title(paragraph.get('title', ''))}{paragraph.get('content')}" for paragraph in
76+
[paragraph.get('content') for paragraph in
7777
result if
7878
paragraph.get('is_hit_handling_method')]),
7979
'question': question},

0 commit comments

Comments
 (0)