完蛋!我被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: 问题类型,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
- .MP4
- .MOV
- .MPEG
- .MPGA
allowed_file_types: []
allowed_file_upload_methods:
- remote_url
- local_file
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:
- remote_url
- local_file
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: true
sensitive_word_avoidance:
configs: []
enabled: false
type: ''
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: 1735183233430-true-1735183663452-target
selected: false
source: '1735183233430'
sourceHandle: 'true'
target: '1735183663452'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1735183233430-false-1735195760496-target
selected: false
source: '1735183233430'
sourceHandle: 'false'
target: '1735195760496'
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: if-else
targetType: if-else
id: 1735183233430-false-1735198861231-target
selected: false
source: '1735183233430'
sourceHandle: 'false'
target: '1735198861231'
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: if-else
targetType: answer
id: 1735183233430-9ca767d9-54ea-407e-a0a3-a8dc3e55e118-1735200055854-target
selected: false
source: '1735183233430'
sourceHandle: 9ca767d9-54ea-407e-a0a3-a8dc3e55e118
target: '1735200055854'
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: code
id: 1735183233430-c2d2ac2c-c148-48ce-b71d-822359b17e3d-1735195133945-target
selected: false
source: '1735183233430'
sourceHandle: c2d2ac2c-c148-48ce-b71d-822359b17e3d
target: '1735195133945'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: code
id: 1735183233430-4e65ee00-65e5-4b72-bfb7-f...(过长已截断)