Revert "同步斗鱼日报工作流文件输入与原始弹幕全文变量"

This reverts commit 3a74e5e5a8.
This commit is contained in:
liuwei
2026-04-29 14:15:26 +08:00
parent 3a74e5e5a8
commit 45ec52ce91

View File

@@ -19,9 +19,6 @@ workflow:
features:
file_upload:
allowed_file_extensions:
- .TXT
- .LOG
- .JSON
- .JPG
- .JPEG
- .PNG
@@ -29,12 +26,11 @@ workflow:
- .WEBP
- .SVG
allowed_file_types:
- document
- image
allowed_file_upload_methods:
- local_file
- remote_url
enabled: true
enabled: false
fileUploadConfig:
audio_file_size_limit: 50
batch_count_limit: 5
@@ -293,6 +289,11 @@ workflow:
required: true
type: paragraph
variable: query
# task_type 是整个工作流的业务路由开关:
# 1. daily_report运营版完整日报正文
# 2. danmu_summary运营版图片上半部分弹幕总结
# 3. fans_daily_report粉丝向欢乐恶搞日报
# 4. room_background_profile主播/房间背景画像 JSON。
- default: daily_report
hint: daily_report / danmu_summary / fans_daily_report / room_background_profile
label: task_type
@@ -329,15 +330,6 @@ workflow:
required: false
type: paragraph
variable: report_payload_json
- default: ''
hint: 本地清洗后的原始弹幕全文字符串,优先级高于摘要 JSON
label: raw_danmu_transcript
max_length: 9999999
options: []
placeholder: ''
required: false
type: paragraph
variable: raw_danmu_transcript
- default: ''
hint: 房间号(可选)
label: room_id
@@ -378,10 +370,10 @@ workflow:
id: '200000001'
position:
x: 0
y: 370
y: 120
positionAbsolute:
x: 0
y: 370
y: 120
selected: false
sourcePosition: right
targetPosition: left
@@ -436,14 +428,14 @@ workflow:
selected: false
title: task_type 分支
type: if-else
height: 268
height: 196
id: '200000010'
position:
x: 342
y: 395
x: 320
y: 145
positionAbsolute:
x: 342
y: 395
x: 320
y: 145
selected: false
sourcePosition: right
targetPosition: left
@@ -453,6 +445,9 @@ workflow:
context:
enabled: false
variable_selector: []
# 运营版正文分支:
# 1. prompt 只服务 daily_report不再夹带粉丝版/弹幕总结的额外风格说明;
# 2. 让模型专注输出主线、运营观察、热点时段和高频梗,减少串味。
error_strategy: fail-branch
model:
completion_params:
@@ -479,9 +474,7 @@ workflow:
5. 如果材料或提示词表明这是 Dota2 / 电竞语境直播间,请优先按该圈层的人物关系、赛事记忆、职业生涯梗来理解弹幕。
6. 如果本次请求附带了 txt/document 文件或 raw_danmu_transcript优先把它们当作最高优先级证据摘要 JSON 只是辅助参考
7. 严格控制在 max_length 以内。
6. 严格控制在 max_length 以内
'
- id: daily_user_1
@@ -517,11 +510,6 @@ workflow:
{{#200000001.report_payload_json#}}
【raw_danmu_transcript】
{{#200000001.raw_danmu_transcript#}}
请直接输出运营版完整日报正文。
'
@@ -537,11 +525,11 @@ workflow:
height: 154
id: '200000101'
position:
x: 704
y: 490
x: 664
y: 0
positionAbsolute:
x: 704
y: 490
x: 664
y: 0
selected: false
sourcePosition: right
targetPosition: left
@@ -551,6 +539,9 @@ workflow:
context:
enabled: false
variable_selector: []
# 弹幕总结分支:
# 1. 单独约束为“图片上半部分摘要”;
# 2. 强制强调现场感、情绪和梗,避免长成完整日报。
error_strategy: fail-branch
model:
completion_params:
@@ -579,9 +570,7 @@ workflow:
6. 如果 system_prompt 非空,优先遵循其中的格式要求。
7. 如果本次请求附带了 txt/document 文件或 raw_danmu_transcript优先把它们当作最高优先级证据摘要 JSON 只是辅助参考
8. 严格控制在 max_length 以内。
7. 严格控制在 max_length 以内
'
- id: danmu_user_1
@@ -617,11 +606,6 @@ workflow:
{{#200000001.report_payload_json#}}
【raw_danmu_transcript】
{{#200000001.raw_danmu_transcript#}}
请直接输出弹幕总结结果。
'
@@ -637,11 +621,11 @@ workflow:
height: 154
id: '200000102'
position:
x: 704
y: 124
x: 664
y: 210
positionAbsolute:
x: 704
y: 124
x: 664
y: 210
selected: false
sourcePosition: right
targetPosition: left
@@ -651,6 +635,10 @@ workflow:
context:
enabled: false
variable_selector: []
# 粉丝乐子日报分支:
# 1. 只服务 fans_daily_report
# 2. 让模型专注输出开心、欢乐、整活的粉丝向内容;
# 3. 显式禁止混入运营分析,降低“风格串台”概率。
error_strategy: fail-branch
model:
completion_params:
@@ -681,9 +669,7 @@ workflow:
7. 如果 system_prompt 非空,优先遵循其中的格式要求。
8. 如果本次请求附带了 txt/document 文件或 raw_danmu_transcript优先把它们当作最高优先级证据摘要 JSON 只是辅助参考
9. 严格控制在 max_length 以内。
8. 严格控制在 max_length 以内
'
- id: fans_user_1
@@ -719,11 +705,6 @@ workflow:
{{#200000001.report_payload_json#}}
【raw_danmu_transcript】
{{#200000001.raw_danmu_transcript#}}
请直接输出粉丝向乐子日报。
'
@@ -736,14 +717,14 @@ workflow:
type: llm
vision:
enabled: false
height: 154
height: 172
id: '200000103'
position:
x: 704
y: 1091
x: 664
y: 440
positionAbsolute:
x: 704
y: 1091
x: 664
y: 440
selected: true
sourcePosition: right
targetPosition: left
@@ -753,6 +734,10 @@ workflow:
context:
enabled: false
variable_selector: []
# 背景画像分支:
# 1. 只服务 room_background_profile
# 2. 优先整理公开资料与输入材料,输出结构化 JSON
# 3. 去掉额外过程字段,只保留日报真正会用到的背景信息。
error_strategy: fail-branch
model:
completion_params:
@@ -822,14 +807,14 @@ workflow:
type: llm
vision:
enabled: false
height: 154
height: 172
id: '200000104'
position:
x: 704
y: 725
x: 664
y: 650
positionAbsolute:
x: 704
y: 725
x: 664
y: 650
selected: false
sourcePosition: right
targetPosition: left
@@ -839,6 +824,8 @@ workflow:
context:
enabled: false
variable_selector: []
# 运营日报回退模型:
# 主模型失败时仍然只处理运营版正文,避免错误回退时跑到别的文风。
model:
completion_params:
temperature: 0.2
@@ -852,7 +839,8 @@ workflow:
当前是回退链路,请稳定输出运营版完整日报正文。
只根据输入材料生成中文纯文本,不编造,不要使用代码块,不要超过 max_length。 如果本次请求附带了 txt/document 文件或 raw_danmu_transcript优先把它们当作最高优先级证据。 如果材料表明这是 Dota2 / 电竞语境直播间,请优先按圈内人物关系和职业生涯梗理解弹幕。
只根据输入材料生成中文纯文本,不编造,不要使用代码块,不要超过 max_length。
如果材料表明这是 Dota2 / 电竞语境直播间,请优先按圈内人物关系和职业生涯梗理解弹幕。
'
- id: daily_user_2
@@ -882,11 +870,6 @@ workflow:
{{#200000001.report_payload_json#}}
【raw_danmu_transcript】
{{#200000001.raw_danmu_transcript#}}
请直接输出运营版完整日报正文。
'
@@ -902,11 +885,11 @@ workflow:
height: 118
id: '200000201'
position:
x: 1066
y: 534
x: 1010
y: 0
positionAbsolute:
x: 1066
y: 534
x: 1010
y: 0
selected: false
sourcePosition: right
targetPosition: left
@@ -916,6 +899,8 @@ workflow:
context:
enabled: false
variable_selector: []
# 弹幕总结回退模型:
# 失败时继续保持“短摘要+现场感”目标,不让回退模型输出成长文复盘。
model:
completion_params:
temperature: 0.2
@@ -929,7 +914,8 @@ workflow:
当前是回退链路,请稳定输出图片上半部分使用的弹幕总结。
只根据输入材料生成中文纯文本,不编造,不要使用代码块,不要写运营分析,不要超过 max_length。 如果本次请求附带了 txt/document 文件或 raw_danmu_transcript优先把它们当作最高优先级证据。 如果材料表明这是 Dota2 / 电竞语境直播间,请优先按圈内选手、主播和历史梗理解弹幕。
只根据输入材料生成中文纯文本,不编造,不要使用代码块,不要写运营分析,不要超过 max_length。
如果材料表明这是 Dota2 / 电竞语境直播间,请优先按圈内选手、主播和历史梗理解弹幕。
'
- id: danmu_user_2
@@ -959,11 +945,6 @@ workflow:
{{#200000001.report_payload_json#}}
【raw_danmu_transcript】
{{#200000001.raw_danmu_transcript#}}
请直接输出弹幕总结结果。
'
@@ -979,11 +960,11 @@ workflow:
height: 118
id: '200000202'
position:
x: 1066
y: 168
x: 1010
y: 210
positionAbsolute:
x: 1066
y: 168
x: 1010
y: 210
selected: false
sourcePosition: right
targetPosition: left
@@ -993,6 +974,8 @@ workflow:
context:
enabled: false
variable_selector: []
# 背景画像回退模型:
# 失败时继续保持“只出 JSON、宁可留空不乱编”的保守策略。
model:
completion_params:
temperature: 0.05
@@ -1006,7 +989,8 @@ workflow:
当前是回退链路,请稳定输出背景画像 JSON。
只输出 JSON 对象,不要使用代码块,不要输出额外说明。 如果证据不足或重名风险较高,字段直接留空,不要为了凑字段而补猜测。
只输出 JSON 对象,不要使用代码块,不要输出额外说明。
如果证据不足或重名风险较高,字段直接留空,不要为了凑字段而补猜测。
'
- id: background_user_2
@@ -1046,11 +1030,11 @@ workflow:
height: 118
id: '200000204'
position:
x: 1066
y: 900
x: 1010
y: 650
positionAbsolute:
x: 1066
y: 900
x: 1010
y: 650
selected: false
sourcePosition: right
targetPosition: left
@@ -1060,6 +1044,8 @@ workflow:
context:
enabled: false
variable_selector: []
# 粉丝日报回退模型:
# 保持欢乐、现场、整活的风格要求,减少回退链路把粉丝版写成运营版的风险。
model:
completion_params:
temperature: 0.3
@@ -1073,7 +1059,8 @@ workflow:
当前是回退链路,请稳定输出单独给粉丝看的欢乐恶搞日报。
只根据输入材料生成中文纯文本,不编造,不要使用代码块,不要写运营分析,不要超过 max_length。 如果本次请求附带了 txt/document 文件或 raw_danmu_transcript优先把它们当作最高优先级证据。 如果材料表明这是 Dota2 / 电竞语境直播间,请优先按刀圈人物关系、职业生涯和老梗去理解笑点。
只根据输入材料生成中文纯文本,不编造,不要使用代码块,不要写运营分析,不要超过 max_length。
如果材料表明这是 Dota2 / 电竞语境直播间,请优先按刀圈人物关系、职业生涯和老梗去理解笑点。
'
- id: fans_user_2
@@ -1103,11 +1090,6 @@ workflow:
{{#200000001.report_payload_json#}}
【raw_danmu_transcript】
{{#200000001.raw_danmu_transcript#}}
请直接输出粉丝向乐子日报。
'
@@ -1123,11 +1105,11 @@ workflow:
height: 118
id: '200000203'
position:
x: 1066
y: 1266
x: 1010
y: 440
positionAbsolute:
x: 1066
y: 1266
x: 1010
y: 440
selected: false
sourcePosition: right
targetPosition: left
@@ -1146,11 +1128,11 @@ workflow:
height: 88
id: '200000301'
position:
x: 1066
y: 366
x: 1010
y: 110
positionAbsolute:
x: 1066
y: 366
x: 1010
y: 110
selected: false
sourcePosition: right
targetPosition: left
@@ -1169,11 +1151,11 @@ workflow:
height: 88
id: '200000302'
position:
x: 1066
y: 0
x: 1010
y: 320
positionAbsolute:
x: 1066
y: 0
x: 1010
y: 320
selected: false
sourcePosition: right
targetPosition: left
@@ -1192,11 +1174,11 @@ workflow:
height: 88
id: '200000303'
position:
x: 1066
y: 1098
x: 1010
y: 550
positionAbsolute:
x: 1066
y: 1098
x: 1010
y: 550
selected: false
sourcePosition: right
targetPosition: left
@@ -1215,11 +1197,11 @@ workflow:
height: 88
id: '200000304'
position:
x: 1408
y: 549
x: 1354
y: 0
positionAbsolute:
x: 1408
y: 549
x: 1354
y: 0
selected: false
sourcePosition: right
targetPosition: left
@@ -1238,11 +1220,11 @@ workflow:
height: 88
id: '200000305'
position:
x: 1408
y: 183
x: 1354
y: 210
positionAbsolute:
x: 1408
y: 183
x: 1354
y: 210
selected: false
sourcePosition: right
targetPosition: left
@@ -1261,11 +1243,11 @@ workflow:
height: 88
id: '200000306'
position:
x: 1408
y: 1281
x: 1354
y: 440
positionAbsolute:
x: 1408
y: 1281
x: 1354
y: 440
selected: false
sourcePosition: right
targetPosition: left
@@ -1284,11 +1266,11 @@ workflow:
height: 88
id: '200000307'
position:
x: 1066
y: 732
x: 1010
y: 760
positionAbsolute:
x: 1066
y: 732
x: 1010
y: 760
selected: false
sourcePosition: right
targetPosition: left
@@ -1307,18 +1289,18 @@ workflow:
height: 88
id: '200000308'
position:
x: 1408
y: 915
x: 1354
y: 650
positionAbsolute:
x: 1408
y: 915
x: 1354
y: 650
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 242
viewport:
x: 101.00000000000001
y: 24
zoom: 0.7
x: 74
y: 74
zoom: 0.48
rag_pipeline_variables: []