|
@@ -1,5 +1,5 @@
|
|
|
{
|
|
{
|
|
|
- "GPT": [
|
|
|
|
|
|
|
+ "Chat": [
|
|
|
{
|
|
{
|
|
|
"class": "input",
|
|
"class": "input",
|
|
|
"id": 1,
|
|
"id": 1,
|
|
@@ -17,7 +17,7 @@
|
|
|
"prompt": "prompt/input.json",
|
|
"prompt": "prompt/input.json",
|
|
|
"output": "{class_output_data}",
|
|
"output": "{class_output_data}",
|
|
|
"next_module": {
|
|
"next_module": {
|
|
|
- "type": "GPT",
|
|
|
|
|
|
|
+ "type": "Chat",
|
|
|
"class": "value",
|
|
"class": "value",
|
|
|
"id": 1
|
|
"id": 1
|
|
|
}
|
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
"class": "value",
|
|
"class": "value",
|
|
|
"id": 1,
|
|
"id": 1,
|
|
|
"input": {
|
|
"input": {
|
|
|
- "intro": "module_output/GPT_input_output.json",
|
|
|
|
|
|
|
+ "intro": "module_output/Chat_input_output.json",
|
|
|
"value_1_module_prompt":"prompt/value_1.json"
|
|
"value_1_module_prompt":"prompt/value_1.json"
|
|
|
},
|
|
},
|
|
|
"prompt_input":{
|
|
"prompt_input":{
|
|
@@ -39,7 +39,7 @@
|
|
|
"prompt": "prompt/value_1.json",
|
|
"prompt": "prompt/value_1.json",
|
|
|
"output": "{class_output_data}",
|
|
"output": "{class_output_data}",
|
|
|
"next_module": {
|
|
"next_module": {
|
|
|
- "type": "GPT",
|
|
|
|
|
|
|
+ "type": "Chat",
|
|
|
"class": "event",
|
|
"class": "event",
|
|
|
"id": 1
|
|
"id": 1
|
|
|
}
|
|
}
|
|
@@ -50,8 +50,8 @@
|
|
|
"input": {
|
|
"input": {
|
|
|
"user_input": "user_input.json",
|
|
"user_input": "user_input.json",
|
|
|
"event_module_prompt":"prompt/event_1.json",
|
|
"event_module_prompt":"prompt/event_1.json",
|
|
|
- "intro": "module_output/GPT_input_output.json",
|
|
|
|
|
- "value": "module_output/GPT_value_output.json",
|
|
|
|
|
|
|
+ "intro": "module_output/Chat_input_output.json",
|
|
|
|
|
+ "value": "module_output/Chat_value_output.json",
|
|
|
"json_declare":"prompt/json_declare.json"
|
|
"json_declare":"prompt/json_declare.json"
|
|
|
},
|
|
},
|
|
|
"prompt_input":{
|
|
"prompt_input":{
|
|
@@ -68,7 +68,7 @@
|
|
|
"prompt": "prompt/event_1.json",
|
|
"prompt": "prompt/event_1.json",
|
|
|
"output": "{class_output_data_append}",
|
|
"output": "{class_output_data_append}",
|
|
|
"next_module": {
|
|
"next_module": {
|
|
|
- "type": "GPT",
|
|
|
|
|
|
|
+ "type": "Chat",
|
|
|
"class": "value",
|
|
"class": "value",
|
|
|
"id": 2
|
|
"id": 2
|
|
|
}
|
|
}
|
|
@@ -77,10 +77,10 @@
|
|
|
"class": "value",
|
|
"class": "value",
|
|
|
"id": 2,
|
|
"id": 2,
|
|
|
"input": {
|
|
"input": {
|
|
|
- "intro": "module_output/GPT_input_output.json",
|
|
|
|
|
|
|
+ "intro": "module_output/Chat_input_output.json",
|
|
|
"value_1_module_prompt":"prompt/value_1.json",
|
|
"value_1_module_prompt":"prompt/value_1.json",
|
|
|
- "value": "module_output/GPT_value_output.json",
|
|
|
|
|
- "event": "module_output/GPT_event_output.json"
|
|
|
|
|
|
|
+ "value": "module_output/Chat_value_output.json",
|
|
|
|
|
+ "event": "module_output/Chat_event_output.json"
|
|
|
},
|
|
},
|
|
|
"prompt": "prompt/value_2.json",
|
|
"prompt": "prompt/value_2.json",
|
|
|
"prompt_input":{
|
|
"prompt_input":{
|
|
@@ -88,7 +88,7 @@
|
|
|
"npc":"intro['角色设定']",
|
|
"npc":"intro['角色设定']",
|
|
|
"value_system":"intro['数值系统']",
|
|
"value_system":"intro['数值系统']",
|
|
|
"target":"intro['游戏通关所需条件']",
|
|
"target":"intro['游戏通关所需条件']",
|
|
|
- "event":"event['class_output_data']",
|
|
|
|
|
|
|
+ "event":"event['class_output_data'][-4:]",
|
|
|
"value":"value['value']",
|
|
"value":"value['value']",
|
|
|
"output_type":"value_1_module_prompt['output_type']"
|
|
"output_type":"value_1_module_prompt['output_type']"
|
|
|
},
|
|
},
|
|
@@ -105,10 +105,10 @@
|
|
|
"input": {
|
|
"input": {
|
|
|
"user_input": "user_input.json",
|
|
"user_input": "user_input.json",
|
|
|
"event_module_prompt":"prompt/event_2.json",
|
|
"event_module_prompt":"prompt/event_2.json",
|
|
|
- "intro": "module_output/GPT_input_output.json",
|
|
|
|
|
- "value": "module_output/GPT_value_output.json",
|
|
|
|
|
|
|
+ "intro": "module_output/Chat_input_output.json",
|
|
|
|
|
+ "value": "module_output/Chat_value_output.json",
|
|
|
"json_declare":"prompt/json_declare.json",
|
|
"json_declare":"prompt/json_declare.json",
|
|
|
- "event": "module_output/GPT_event_output.json",
|
|
|
|
|
|
|
+ "event": "module_output/Chat_event_output.json",
|
|
|
"interact":"module_output/Interact_choose_output.json"
|
|
"interact":"module_output/Interact_choose_output.json"
|
|
|
},
|
|
},
|
|
|
"prompt_input":{
|
|
"prompt_input":{
|
|
@@ -121,13 +121,13 @@
|
|
|
"output_type":"event_module_prompt['output_type']",
|
|
"output_type":"event_module_prompt['output_type']",
|
|
|
"json_declare":"json_declare['json_declare']",
|
|
"json_declare":"json_declare['json_declare']",
|
|
|
"value":"value['value']",
|
|
"value":"value['value']",
|
|
|
- "event":"event['class_output_data'][-3:]",
|
|
|
|
|
|
|
+ "event":"event['class_output_data'][-4:]",
|
|
|
"interact":"interact['class_output_data'][-1]"
|
|
"interact":"interact['class_output_data'][-1]"
|
|
|
},
|
|
},
|
|
|
"prompt": "prompt/event_2.json",
|
|
"prompt": "prompt/event_2.json",
|
|
|
"output": "{class_output_data_append}",
|
|
"output": "{class_output_data_append}",
|
|
|
"next_module": {
|
|
"next_module": {
|
|
|
- "type": "GPT",
|
|
|
|
|
|
|
+ "type": "Chat",
|
|
|
"class": "value",
|
|
"class": "value",
|
|
|
"id": 2
|
|
"id": 2
|
|
|
}
|
|
}
|
|
@@ -138,10 +138,10 @@
|
|
|
"input": {
|
|
"input": {
|
|
|
"user_input": "user_input.json",
|
|
"user_input": "user_input.json",
|
|
|
"event_module_prompt":"prompt/event_3.json",
|
|
"event_module_prompt":"prompt/event_3.json",
|
|
|
- "intro": "module_output/GPT_input_output.json",
|
|
|
|
|
- "value": "module_output/GPT_value_output.json",
|
|
|
|
|
|
|
+ "intro": "module_output/Chat_input_output.json",
|
|
|
|
|
+ "value": "module_output/Chat_value_output.json",
|
|
|
"json_declare":"prompt/json_declare.json",
|
|
"json_declare":"prompt/json_declare.json",
|
|
|
- "event": "module_output/GPT_event_output.json"
|
|
|
|
|
|
|
+ "event": "module_output/Chat_event_output.json"
|
|
|
},
|
|
},
|
|
|
"prompt_input":{
|
|
"prompt_input":{
|
|
|
"style":"user_input['style']",
|
|
"style":"user_input['style']",
|
|
@@ -153,12 +153,12 @@
|
|
|
"output_type":"event_module_prompt['output_type']",
|
|
"output_type":"event_module_prompt['output_type']",
|
|
|
"json_declare":"json_declare['json_declare']",
|
|
"json_declare":"json_declare['json_declare']",
|
|
|
"value":"value['value']",
|
|
"value":"value['value']",
|
|
|
- "event":"event['class_output_data'][-3:]"
|
|
|
|
|
|
|
+ "event":"event['class_output_data'][-4:]"
|
|
|
},
|
|
},
|
|
|
"prompt": "prompt/event_3.json",
|
|
"prompt": "prompt/event_3.json",
|
|
|
"output": "{class_output_data_append}",
|
|
"output": "{class_output_data_append}",
|
|
|
"next_module": {
|
|
"next_module": {
|
|
|
- "type": "GPT",
|
|
|
|
|
|
|
+ "type": "Chat",
|
|
|
"class": "value",
|
|
"class": "value",
|
|
|
"id": 2
|
|
"id": 2
|
|
|
}
|
|
}
|
|
@@ -169,7 +169,7 @@
|
|
|
"class": "Boolean",
|
|
"class": "Boolean",
|
|
|
"id": 1,
|
|
"id": 1,
|
|
|
"input": {
|
|
"input": {
|
|
|
- "event": "module_output/GPT_event_output.json"
|
|
|
|
|
|
|
+ "event": "module_output/Chat_event_output.json"
|
|
|
},
|
|
},
|
|
|
"value":"event['class_output_data'][-1]['是否需要玩家选择下一步操作']",
|
|
"value":"event['class_output_data'][-1]['是否需要玩家选择下一步操作']",
|
|
|
"if_true_next": {
|
|
"if_true_next": {
|
|
@@ -178,7 +178,7 @@
|
|
|
"id": 1
|
|
"id": 1
|
|
|
},
|
|
},
|
|
|
"if_false_next": {
|
|
"if_false_next": {
|
|
|
- "type": "GPT",
|
|
|
|
|
|
|
+ "type": "Chat",
|
|
|
"class": "event",
|
|
"class": "event",
|
|
|
"id": 3
|
|
"id": 3
|
|
|
}
|
|
}
|
|
@@ -189,12 +189,12 @@
|
|
|
"class": "choose",
|
|
"class": "choose",
|
|
|
"id": 1,
|
|
"id": 1,
|
|
|
"input": {
|
|
"input": {
|
|
|
- "event": "module_output/GPT_event_output.json"
|
|
|
|
|
|
|
+ "event": "module_output/Chat_event_output.json"
|
|
|
},
|
|
},
|
|
|
"choices": "event['class_output_data'][-1]['玩家可以做出的选择']",
|
|
"choices": "event['class_output_data'][-1]['玩家可以做出的选择']",
|
|
|
"output": "{class_output_data_append}",
|
|
"output": "{class_output_data_append}",
|
|
|
"next_module": {
|
|
"next_module": {
|
|
|
- "type": "GPT",
|
|
|
|
|
|
|
+ "type": "Chat",
|
|
|
"class": "event",
|
|
"class": "event",
|
|
|
"id": 2
|
|
"id": 2
|
|
|
}
|
|
}
|