123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- {
- "GPT": [
- {
- "class": "input",
- "id": 1,
- "input": {
- "user_input": "user_input.json",
- "input_module_prompt":"prompt/input.json",
- "json_declare":"prompt/json_declare.json"
- },
- "prompt_input":{
- "style":"user_input['style']",
- "story":"user_input['story']",
- "declare":"input_module_prompt['declare']",
- "json_declare":"json_declare['json_declare']"
- },
- "prompt": "prompt/input.json",
- "output": "{class_output_data}",
- "next_module": {
- "type": "GPT",
- "class": "value",
- "id": 1
- }
- },
- {
- "class": "value",
- "id": 1,
- "input": {
- "intro": "module_output/GPT_input_output.json",
- "value_1_module_prompt":"prompt/value_1.json"
- },
- "prompt_input":{
- "intro":"intro['故事简介']",
- "npc":"intro['角色设定']",
- "value_system":"intro['数值系统']",
- "target":"intro['游戏通关所需条件']",
- "output_type":"value_1_module_prompt['output_type']"
- },
- "prompt": "prompt/value_1.json",
- "output": "{class_output_data}",
- "next_module": {
- "type": "GPT",
- "class": "event",
- "id": 1
- }
- },
- {
- "class": "event",
- "id": 1,
- "input": {
- "user_input": "user_input.json",
- "event_module_prompt":"prompt/event_1.json",
- "intro": "module_output/GPT_input_output.json",
- "value": "module_output/GPT_value_output.json",
- "json_declare":"prompt/json_declare.json"
- },
- "prompt_input":{
- "style":"user_input['style']",
- "story":"user_input['story']",
- "intro":"intro['故事简介']",
- "npc":"intro['角色设定']",
- "value_system":"intro['数值系统']",
- "target":"intro['游戏通关所需条件']",
- "output_type":"event_module_prompt['output_type']",
- "json_declare":"json_declare['json_declare']",
- "value":"value['value']"
- },
- "prompt": "prompt/event_1.json",
- "output": "{class_output_data_append}",
- "next_module": {
- "type": "GPT",
- "class": "value",
- "id": 2
- }
- },
- {
- "class": "value",
- "id": 2,
- "input": {
- "intro": "module_output/GPT_input_output.json",
- "value_1_module_prompt":"prompt/value_1.json",
- "value": "module_output/GPT_value_output.json",
- "event": "module_output/GPT_event_output.json"
- },
- "prompt": "prompt/value_2.json",
- "prompt_input":{
- "intro":"intro['故事简介']",
- "npc":"intro['角色设定']",
- "value_system":"intro['数值系统']",
- "target":"intro['游戏通关所需条件']",
- "event":"event['class_output_data']",
- "value":"value['value']",
- "output_type":"value_1_module_prompt['output_type']"
- },
- "output": "{class_output_data}",
- "next_module": {
- "type": "Judgement",
- "class": "Boolean",
- "id": 1
- }
- },
- {
- "class": "event",
- "id": 2,
- "input": {
- "user_input": "user_input.json",
- "event_module_prompt":"prompt/event_2.json",
- "intro": "module_output/GPT_input_output.json",
- "value": "module_output/GPT_value_output.json",
- "json_declare":"prompt/json_declare.json",
- "event": "module_output/GPT_event_output.json",
- "interact":"module_output/Interact_choose_output.json"
- },
- "prompt_input":{
- "style":"user_input['style']",
- "story":"user_input['story']",
- "intro":"intro['故事简介']",
- "npc":"intro['角色设定']",
- "value_system":"intro['数值系统']",
- "target":"intro['游戏通关所需条件']",
- "output_type":"event_module_prompt['output_type']",
- "json_declare":"json_declare['json_declare']",
- "value":"value['value']",
- "event":"event['class_output_data'][-3:]",
- "interact":"interact['class_output_data'][-1]"
- },
- "prompt": "prompt/event_2.json",
- "output": "{class_output_data_append}",
- "next_module": {
- "type": "GPT",
- "class": "value",
- "id": 2
- }
- },
- {
- "class": "event",
- "id": 3,
- "input": {
- "user_input": "user_input.json",
- "event_module_prompt":"prompt/event_3.json",
- "intro": "module_output/GPT_input_output.json",
- "value": "module_output/GPT_value_output.json",
- "json_declare":"prompt/json_declare.json",
- "event": "module_output/GPT_event_output.json"
- },
- "prompt_input":{
- "style":"user_input['style']",
- "story":"user_input['story']",
- "intro":"intro['故事简介']",
- "npc":"intro['角色设定']",
- "value_system":"intro['数值系统']",
- "target":"intro['游戏通关所需条件']",
- "output_type":"event_module_prompt['output_type']",
- "json_declare":"json_declare['json_declare']",
- "value":"value['value']",
- "event":"event['class_output_data'][-3:]"
- },
- "prompt": "prompt/event_3.json",
- "output": "{class_output_data_append}",
- "next_module": {
- "type": "GPT",
- "class": "value",
- "id": 2
- }
- }
- ],
- "Judgement": [
- {
- "class": "Boolean",
- "id": 1,
- "input": {
- "event": "module_output/GPT_event_output.json"
- },
- "value":"event['class_output_data'][-1]['是否需要玩家选择下一步操作']",
- "if_true_next": {
- "type": "Interact",
- "class": "choose",
- "id": 1
- },
- "if_false_next": {
- "type": "GPT",
- "class": "event",
- "id": 3
- }
- }
- ],
- "Interact": [
- {
- "class": "choose",
- "id": 1,
- "input": {
- "event": "module_output/GPT_event_output.json"
- },
- "choices": "event['class_output_data'][-1]['玩家可以做出的选择']",
- "output": "{class_output_data_append}",
- "next_module": {
- "type": "GPT",
- "class": "event",
- "id": 2
- }
- }
- ]
- }
|