feat: 去除工作流直接返回内容的标题数据
This commit is contained in:
parent
33d88954c6
commit
9a66044ec4
@ -73,7 +73,7 @@ class BaseSearchDatasetNode(ISearchDatasetStepNode):
|
|||||||
[f"{reset_title(paragraph.get('title', ''))}{paragraph.get('content')}" for paragraph in
|
[f"{reset_title(paragraph.get('title', ''))}{paragraph.get('content')}" for paragraph in
|
||||||
paragraph_list])[0:dataset_setting.get('max_paragraph_char_number', 5000)],
|
paragraph_list])[0:dataset_setting.get('max_paragraph_char_number', 5000)],
|
||||||
'directly_return': '\n'.join(
|
'directly_return': '\n'.join(
|
||||||
[f"{reset_title(paragraph.get('title', ''))}{paragraph.get('content')}" for paragraph in
|
[paragraph.get('content') for paragraph in
|
||||||
result if
|
result if
|
||||||
paragraph.get('is_hit_handling_method')]),
|
paragraph.get('is_hit_handling_method')]),
|
||||||
'question': question},
|
'question': question},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user