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