zfrr 2 months ago
parent
commit
91650c4c40

+ 4 - 0
final/ByRules/similarity_answer_json.py

@@ -38,6 +38,10 @@ template_dict = {
     "17.2": ["那个省受入电量最高?是多少?"],
     "17.3": ["那个省送出电量最低?是多少?"],
     "17.4": ["那个省受入电量最低?是多少?"],
+    "18.1": ["那个省送出均价最高?是多少?"],
+    "18.2": ["那个省受入均价最高?是多少?"],
+    "18.3": ["那个省送出均价最低?是多少?"],
+    "18.4": ["那个省受入均价最低?是多少?"],
     "19": ["省间交易正在组织的交易有多少?"],
     "20": ["省间交易当月完成的交易有多少?"],
     "21": ["省间交易当年完成的交易有多少?"],

+ 11 - 0
final/ByRules/templatesJson/18.1.json

@@ -0,0 +1,11 @@
+{
+  "dataJsonName": "sjjy1_B04_output",
+  "type": "compare_max_min",
+  "value_key": "送出均价",
+  "name_key": "单位",
+  "find_max": "True",
+  "content": "送出均价最高的省份是&,送出均价是&",
+  "play": "讲述文本",
+  "name": "省间交易",
+  "qcode": "18.1"
+}

+ 11 - 0
final/ByRules/templatesJson/18.2.json

@@ -0,0 +1,11 @@
+{
+  "dataJsonName": "sjjy1_B05_output",
+  "type": "compare_max_min",
+  "value_key": "受入均价",
+  "name_key": "单位",
+  "find_max": "True",
+  "content": "受入均价最高的省份是&,受入均价是&",
+  "play": "讲述文本",
+  "name": "省间交易",
+  "qcode": "18.2"
+}

+ 11 - 0
final/ByRules/templatesJson/18.3.json

@@ -0,0 +1,11 @@
+{
+  "dataJsonName": "sjjy1_B04_output",
+  "type": "compare_max_min",
+  "value_key": "送出均价",
+  "name_key": "单位",
+  "find_max": "False",
+  "content": "送出均价最低的省份是&,送出均价是&",
+  "play": "讲述文本",
+  "name": "省间交易",
+  "qcode": "18.3"
+}

+ 11 - 0
final/ByRules/templatesJson/18.4.json

@@ -0,0 +1,11 @@
+{
+  "dataJsonName": "sjjy1_B05_output",
+  "type": "compare_max_min",
+  "value_key": "受入均价",
+  "name_key": "单位",
+  "find_max": "False",
+  "content": "受入均价最低的省份是&,受入均价是&",
+  "play": "讲述文本",
+  "name": "省间交易",
+  "qcode": "18.4"
+}