完蛋!我被LLM包围了!(战绩排行版)
【使用中,请勿操作】
工作流图谱
YAML 源码
app:
description: 【使用中,请勿操作】
icon: video_game
icon_background: '#FBE8FF'
mode: advanced-chat
name: 完蛋!我被LLM包围了!(战绩排行版)
use_icon_as_answer_icon: true
kind: app
version: 0.1.5
workflow:
conversation_variables:
- description: 查看排行榜的时间戳(用于限制频繁查看排行榜消耗太多元数据库的计算资源)
id: c41a7c28-f30a-4848-9791-f89a37980b22
name: show_ranking_ts
selector:
- conversation
- show_ranking_ts
value: 0
value_type: number
- description: 问题类型,0:普通问题,1:回文问题,2:互惠问题
id: 025bffa8-5502-4639-b4c5-78e006217829
name: question_type
selector:
- conversation
- question_type
value: 0
value_type: number
- description: 游戏状态(pending\start\running\restart\success)
id: b380e461-c8e1-4d5f-be5f-439ddf84fc5a
name: status
selector:
- conversation
- status
value: pending
value_type: string
- description: 问题序号
id: 90d13fef-affa-4660-883f-00881df92f4c
name: question_id
selector:
- conversation
- question_id
value: 0
value_type: number
- description: 游戏关卡
id: d05c7f90-2e56-4296-9b91-4a481d44682e
name: game_level
selector:
- conversation
- game_level
value: 0
value_type: number
environment_variables:
- description: ''
id: 81051d42-e73b-4d85-8d5d-59eed29f488c
name: top_n
selector:
- env
- top_n
value: 50
value_type: number
features:
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
allowed_file_types:
- image
allowed_file_upload_methods:
- local_file
- remote_url
enabled: false
fileUploadConfig:
audio_file_size_limit: 50
batch_count_limit: 5
file_size_limit: 15
image_file_size_limit: 10
video_file_size_limit: 100
workflow_file_upload_limit: 10
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
number_limits: 3
opening_statement: '<center><font size=4>完蛋!我被LLM包围了!</font></center>
<div><font size=2>欢迎来玩 Dify 复刻版的 【完蛋!我被LLM包围了!】</font></div>
<div><font size=2>你将通过本游戏对大型语言模型产生更深刻的理解。</font></div>
<div><font size=2>在本游戏中,你需要构造一个提给大型语言模型的问题,使得它回复的答案符合要求。</font></div>'
retriever_resource:
enabled: false
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: false
suggested_questions:
- '#开始'
- '#战绩'
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: start-source-1735183356205-target
selected: false
source: start
sourceHandle: source
target: '1735183356205'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: assigner
id: 1735183356205-true-1735183411877-target
selected: false
source: '1735183356205'
sourceHandle: 'true'
target: '1735183411877'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: assigner
id: 1735183356205-faa33c03-dbfd-4fc5-b85d-11d3a519e455-1735183489389-target
selected: false
source: '1735183356205'
sourceHandle: faa33c03-dbfd-4fc5-b85d-11d3a519e455
target: '1735183489389'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: answer
id: 1735197213688-true-1735197253934-target
selected: false
source: '1735197213688'
sourceHandle: 'true'
target: '1735197253934'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1735195760496-source-1735198227518-target
selected: false
source: '1735195760496'
sourceHandle: source
target: '1735198227518'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1735198964742-source-1735199090032-target
selected: false
source: '1735198964742'
sourceHandle: source
target: '1735199090032'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: code
id: 1735199090032-source-1735195133945-target
selected: false
source: '1735199090032'
sourceHandle: source
target: '1735195133945'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: code
id: 1735198861231-true-1735199302294-target
selected: false
source: '1735198861231'
sourceHandle: 'true'
target: '1735199302294'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: code
targetType: llm
id: 1735199302294-source-1735198964742-target
selected: false
source: '1735199302294'
sourceHandle: source
target: '1735198964742'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: answer
id: 1735197253934-source-1735192250756-target
selected: false
source: '1735197253934'
sourceHandle: source
target: '1735192250756'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: answer
id: 1735199727654-source-1735192250756-target
selected: false
source: '1735199727654'
sourceHandle: source
target: '1735192250756'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: if-else
id: 1735201048213-true-1735197213688-target
selected: false
source: '1735201048213'
sourceHandle: 'true'
target: '1735197213688'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: answer
id: 1735201048213-ef6ca92c-8822-4f18-b219-ae4bae7698a0-1735199809830-target
selected: false
source: '1735201048213'
sourceHandle: ef6ca92c-8822-4f18-b219-ae4bae7698a0
target: '1735199809830'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: answer
id: 1735201048213-false-1735192250756-target
selected: false
source: '1735201048213'
sourceHandle: 'false'
target: '1735192250756'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: code
targetType: assigner
id: 1735195133945-source-1735201350381-target
selected: false
source: '1735195133945'
sourceHandle: source
target: '1735201350381'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: assigner
targetType: if-else
id: 1735201350381-source-1735201048213-target
selected: false
source: '1735201350381'
sourceHandle: source
target: '1735201048213'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: answer
id: 1735197213688-false-1735199727654-target
selected: false
source: '1735197213688'
sourceHandle: 'false'
target: '1735199727654'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: answer
id: 1735197213688-25972869-6d46-4e39-9a88-e019825edf57-1735192250756-target
selected: false
source: '1735197213688'
sourceHandle: 25972869-6d46-4e39-9a88-e019825edf57
target: '1735192250756'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: if-else
id: 1735198227518-source-1735213477600-target
source: '1735198227518'
sourceHandle: source
target: '1735213477600'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: code
id: 1735213477600-false-1735195133945-target
source: '1735213477600'
sourceHandle: 'false'
target: '1735195133945'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1735213477600-true-1735213513838-target
source: '1735213477600'
sourceHandle: 'true'
target: '1735213513838'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1735213513838-source-1735213525623-target
source: '1735213513838'
sourceHandle: source
target: '1735213525623'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: code
id: 1735213525623-source-1735195133945-target
source: '1735213525623'
sourceHandle: source
target: '1735195133945'
targetHandle: target
type: custom
zIndex: 0...(过长已截断)