浏览代码

删除废弃的文件

liutao 1 月之前
父节点
当前提交
9d72b78d4b

+ 0 - 122
aiAgent_gd/qwen_agent/memory/data/plans/plan_examples_土地市场监测.jsonl.20240513.backup

@@ -1,122 +0,0 @@
-[
-  {
-    "query_type": "land_supply",
-    "query": "浙江省2024年土地供应情况",
-    "plan": "Question: 浙江省2024年土地供应情况?\nThought: 用户问题中想要查询“浙江省”“2024年”土地供应情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为“2024”的供应宗数、面积、金额情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省今年土地供应情况",
-    "plan": "Question: 浙江省今年土地供应情况?\nThought: 用户问题中想要查询“浙江省”今年土地供应情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为今年的供应宗数、面积、金额情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省2024年土地出让面积是多少",
-    "plan": "Question: 浙江省2024年土地出让面积是多少?\nThought: 用户问题中想要查询“浙江省”“2024年”土地出让总面积,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为“2024”的土地供应类型为招拍挂及协议出让的土地的总面积\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省今年土地出让面积是多少",
-    "plan": "Question: 浙江省2024年土地出让面积是多少?\nThought: 用户问题中想要查询“浙江省”“今年”土地出让总面积,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为“今年”的土地供应类型为招拍挂及协议出让的土地的总面积\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省2024年各土地用途供应面积是多少",
-    "plan": "Question: 浙江省2024年各土地用途供应面积是多少?\nThought: 用户问题中想要查询“浙江省”“2024年”各土地用途供应面积,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为“2024年”的各土地用途供应面积\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省本月土地供应面积环比数据",
-    "plan": "Question: 浙江省本月土地供应面积环比数据?\nThought: 用户问题中想要查询浙江省本月土地供应面积环比数据,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为浙江省本月土地供应面积环比数据\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省2024年2月土地供应面积环比数据",
-    "plan": "Question: 浙江省2024年2月土地供应面积环比数据?\nThought: 用户问题中想要查询浙江省2024年2月土地供应面积环比数据,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为浙江省2024年2月土地供应面积环比数据\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省本月土地供应出让金额环比数据",
-    "plan": "Question: 浙江省本月土地供应出让金额环比数据?\nThought: 用户问题中想要查询浙江省本月土地供应出让金额环比数据,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询浙江省本月土地供应出让金额环比数据\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "今年浙江省工业用地出让行业分布情况",
-    "plan": "Question: 今年浙江省工业用地出让行业分布情况?\nThought: 用户问题中想要查询今年浙江省工业用地出让行业分布情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年浙江省工业用地出让行业分布情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "请分析浙江省今年土地供应结构",
-    "plan": "Question: 请分析浙江省今年土地供应结构\nThought: 用户问题中想要查询“浙江省”今年土地供应结构面积数据,只需要统计商服用地,工矿仓储用地 和住宅用地,其他的类型请归类为基础设施用地,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为“2024年”的土地供应结构面积数据\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省2023年土地供应结构情况",
-    "plan": "Question: 浙江省2023年土地供应结构情况?\nThought: 用户问题中想要查询“浙江省”“2023年”土地供应结构面积数据,只需要统计商服用地,工矿仓储用地 和住宅用地,其他的类型请归类为基础设施用地,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为“2024年”的土地供应结构面积数据\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "请分析浙江省2024年各地级市土地供应情况",
-    "plan": "Question: 请分析浙江省2024年各地级市土地供应情况?\nThought: 用户问题中想要查询“浙江省”“2024年”各地级市土地供应情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为“2024年”的各地级市土地供应数据,并按照地区代码前四位排序\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "浙江省今年各地级市土地供应情况",
-    "plan": "Question: 请分析浙江省2024年各地级市土地供应情况?\nThought: 用户问题中想要查询“浙江省”“2024年”各地级市土地供应情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“浙江省”的各地级市土地供应数据,并按照地区代码前四位排序\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "请分析近几年杭州市工业用地出让情况",
-    "plan": "Question: 请分析近几年杭州市工业用地出让情况?\nThought: 用户问题中想要查询“杭州市”近几年工业用地土地出让情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“杭州市”的近几年工业用地土地出让情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "杭州市近几年工业用地出让情况",
-    "plan": "Question: 杭州市近几年工业用地出让情况?\nThought: 用户问题中想要查询“杭州市”近几年工业用地土地出让情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“杭州市”的近几年工业用地土地出让情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "请分析近几年杭州市住宅用地出让情况",
-    "plan": "Question: 请分析近几年杭州市住宅用地出让情况?\nThought: 用户问题中想要查询“杭州市”近几年住宅用地土地出让面积情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“杭州市”的近几年住宅用地土地出让面积情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "杭州市近几年工业用地出让情况",
-    "plan": "Question: 杭州市近几年住宅用地出让情况?\nThought: 用户问题中想要查询“杭州市”近几年住宅用地土地出让面积情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“杭州市”的近几年住宅用地土地出让情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "请分析近几年杭州市商业用地出让情况",
-    "plan": "Question: 请分析近几年杭州市商业用地出让情况?\nThought: 用户问题中想要查询“杭州市”近几年商业用地土地出让面积情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“杭州市”的近几年商业用地土地出让面积情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "杭州市近几年商业用地出让情况",
-    "plan": "Question: 杭州市近几年商业用地出让情况?\nThought: 用户问题中想要查询“杭州市”近几年商业用地土地出让面积情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“杭州市”的近几年商业用地土地出让面积情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "请分析浙江省各地级市标准地供应情况",
-    "plan": "Question: 请分析浙江省各地级市标准地供应情况?\nThought: 用户问题中想要查询“浙江省”各地级市标准地供情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“浙江省”的各地级市标准地供应情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "江省各地级市标准地供应情况",
-    "plan": "Question: 江省各地级市标准地供应情况?\nThought: 用户问题中想要查询“浙江省”各地级市标准地供应情况情况,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“浙江省”的各地级市标准地供应情况\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "请分析近几年浙江省供地同比和环比增长率",
-    "plan": "Question: 请分析近几年浙江省供地同比和环比增长率?\nThought: 用户问题中想要查询“浙江省”的近几年的月供地面积同比和环比增长率,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询今年供应地区为“浙江省”近几年的月供地面积同比和环比增长率\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "杭州市2024年至今,住宅、工业、商服用地出让的宗数和面积是多少?",
-    "plan": "Question: 杭州市2024年至今,住宅、工业、商服用地出让的宗数和面积是多少?\nThought: 用户问题中想要查询“杭州市”“2024”年的住宅、工业、商服用地的出让宗数和出让总面积,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询“杭州市”“2024”年的住宅、工业、商服用地的出让宗数和出让总面积\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "杭州市今年各行政区土地出让的数量分布如何",
-    "plan": "Question: 杭州市今年各行政区土地出让的数量分布如何?\nThought: 用户问题中想要查询“杭州市”“今年”的各行政区的土地出让数量,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询“杭州市”今年的各行政区的土地出让数量\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  }
-]

+ 0 - 12
aiAgent_gd/qwen_agent/memory/data/plans/plan_examples_土地市场监测.jsonl.backup

@@ -1,12 +0,0 @@
-[
-  {
-    "query_type": "land_supply",
-    "query": "请分析浙江省近几年土地供应总体情况",
-    "plan": "Question: 请分析浙江省近几年土地供应总体情况?\nThought: 用户问题中想要查询“浙江省”近几年土地供应宗数,面积及出让金额信息,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询“浙江省”近几年土地供应宗数,面积及出让金额信息\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_supply",
-    "query": "请分析浙江省今年土地供应结构",
-    "plan": "Question: 请分析浙江省今年土地供应结构\nThought: 用户问题中想要查询“浙江省”今年土地供应结构面积数据,只需要统计商服用地,工矿仓储用地 和住宅用地,其他的类型请归类为基础设施用地,所以需要通过[LandSupplySqlAgent]查询供地信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandSupplySqlAgent\", \"instruction\": \"你需要调用 [LandSupplySqlAgent],来查询供应地区为“浙江省”年份为“2024年”的土地供应结构面积数据\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  }
-]

+ 0 - 52
aiAgent_gd/qwen_agent/memory/data/plans/plan_examples_调查监测分析.jsonl.backup

@@ -1,52 +0,0 @@
-[
-  {
-    "query_type": "land_use",
-    "query": "浙江省2020年土地利用现状总面积是多少",
-    "plan": "Question: 浙江省2020年土地利用现状总面积是多少?\nThought: 用户问题中想要查询“浙江省”“2020年”土地利用现状总面积是多少,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询供应地区为“浙江省”年份为“2020”的土地利用现状总面积\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析2022年全国土地利用一级地类现状",
-    "plan": "Question: 请分析2022年全国土地利用一级地类现状?\nThought: 用户问题中想要查询“浙江省”“2022年”土地利用现状各一级地类汇总面积是多少,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询供应地区为“浙江省”年份为“2022”土地利用现状各一级地类汇总面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析2022年全国各省耕地总体情况",
-    "plan": "Question: 请分析2022年全国各省耕地总体情况?\nThought: 用户问题中想要查询“2022年”土地利用现状大类为“耕地”的各省总面积是多少,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询“2022年”土地利用现状大类为“耕地”的各省总面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析2022年浙江省各地级市湿地总体情况",
-    "plan": "Question: 请分析2022年浙江省各地级市湿地总体情况?\nThought: 用户问题中想要查询年份为“2022年”省份为“浙江省”土地利用现状大类为“湿地”的各地级市总面积是多少,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询年份为“2022年”省份为“浙江省”土地利用现状大类为“湿地”的各地级市总面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析自2019年以来,全国耕地总量的变化情况",
-    "plan": "Question: 自2019年以来,全国耕地总量的变化情况?\nThought: 用户问题中想要查询年份大于等于“2019”年全国土地利用现状大类为“耕地”的每年汇总面积是多少,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询年份大于等于“2019”年全国土地利用现状大类为“耕地”的每年汇总面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析浙江省近几年耕地总量变化情况",
-    "plan": "Question: 请分析浙江省近几年耕地总量变化情况?\nThought: 用户问题中想要查询省份为“浙江省”土地利用现状大类为“耕地”的每年汇总面积是多少,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询省份为“浙江省”土地利用现状大类为“耕地”的每年汇总面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析2022年浙江省耕地各二级地类总量",
-    "plan": "Question: 请分析2022年浙江省耕地各二级地类总量?\nThought: 用户问题中想要查询省份为“浙江省”年份为“2022”土地利用现状大类为“耕地”的各土地利用现状小类汇总面积是多少,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询省份为“浙江省”年份为“2022”土地利用现状大类为“耕地”的各土地利用现状小类汇总面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析自2020年以来浙江省耕地同比变化情况",
-    "plan": "Question: 请分析自2020年以来浙江省耕地同比变化情况?\nThought: 用户问题中想要查询省份为“浙江省”年份大于等于“2019”土地利用现状大类为“耕地”的每年同比面积是多少,为了计算同比数据,需要将年份设置成大于等于“2019”年,以获取2020年的同比数据,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询省份为“浙江省”年份大于等于“2019”土地利用现状大类为“耕地”的每年同比面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析2020年至2022年杭州市耕地年度变化同比情况",
-    "plan": "Question: 请分析2020年至2022年杭州市耕地年度变化同比情况?\nThought: 用户问题中想要查询城市为“杭州市”年份为2020 至 2022土地利用现状大类为“耕地”的每年同比面积是多少,为了计算同比数据,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],查询城市为“杭州市”年份大于等于“2020”小于等于“2022”年土地利用现状大类为“耕地”的每年同比面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  },
-  {
-    "query_type": "land_use",
-    "query": "请分析2019-2022年浙江省红树林地的变化情况",
-    "plan": "Question: 请分析2019-2022年浙江省红树林地的变化情况?\nThought: 用户问题中想要查询省份为“浙江省”年份在区间“2019”年至“2022”年土地利用现状小类为“红树林”的每年汇总面积是多少,所以需要通过[LandUseSqlAgent]查询 土地利用现状信息,最后使用summary的Action来表示供应情况。Plan: ```json\n    [{\"action_name\": \"LandUseSqlAgent\", \"instruction\": \"你需要调用 [LandUseSqlAgent],来查询省份为“浙江省”年份在区间“2020”年至“2022”年土地利用现状小类为“红树林”的每年汇总面积是多少\"},\n    {\"action_name\": \"summary\", \"instruction\": \"你需要根据用户的Question和数据库查询的结果,回答用户问题。\"}]"
-  }
-]

+ 0 - 122
aiAgent_gd/qwen_agent/memory/data/sqls/sql_examples_土地市场监测.jsonl.20240513.backup

@@ -1,122 +0,0 @@
-[
- {
- "query_type": "land_supply",
- "query": "浙江省2024年土地供应情况",
- "sql_code": "select count(1) as supplyNums, round(sum(amount), 2) as totalAmounts, round(sum(land_area * 0.0015), 0) as totalAreas from zlzd.land_supply where to_char(sell_date, 'yyyy') = '2024' and province = '浙江省'"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省今年土地供应情况",
- "sql_code": "select count(1) as supplyNums, round(sum(amount), 2) as totalAmounts, round(sum(land_area * 0.0015), 0) as totalAreas from zlzd.land_supply where to_char(sell_date, 'yyyy') = to_char(CURRENT_DATE, 'YYYY') and province = '浙江省'"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省2024年土地出让面积是多少",
- "sql_code": "select round(sum(land_area * 0.0015), 0) as totalArea from zlzd.land_supply where to_char(sell_date, 'yyyy') = to_char(CURRENT_DATE, 'YYYY') and province = '浙江省' and land_supply_type similar to '(2|3)%'"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省2024年各土地用途供应面积是多少",
- "sql_code": "SELECT CASE WHEN land_use_type LIKE '05%' THEN '商业用地' WHEN land_use_type LIKE '06%' THEN '工业用地' WHEN land_use_type LIKE '07%' THEN '住宅用地' WHEN land_use_type LIKE '12%' THEN '其他用地' END AS land_use_category, ROUND(SUM(land_area * 0.0015), 0)::int AS total_area FROM zlzd.land_supply WHERE to_char(sell_date, 'yyyy') = '2024' AND province = '浙江省' and land_use_type similar to '(05|06|07|12)%' GROUP BY land_use_category ORDER BY land_use_category"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省本月土地供应面积环比数据",
- "sql_code": "select round(sum(case when to_char(sell_date, 'yyyy-MM') = to_char(current_date, 'yyyy-MM') then land_area * 0.0015 else 0 end), 0) as current_month_area, round(sum(case when to_char(sell_date, 'yyyy-MM') = to_char(current_date - interval '1 month', 'yyyy-MM') then land_area * 0.0015 else 0 end), 0) as last_month_area from zlzd.land_supply where province = '浙江省' and to_char(sell_date, 'yyyy-MM') in(to_char(current_date, 'yyyy-MM'), to_char(current_date - interval '1 month', 'yyyy-MM')) group by province"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省2024年2月土地供应面积环比数据",
- "sql_code": "select province, round(sum(case when to_char(sell_date, 'yyyy-MM') = '2024-02' then land_area * 0.0015 else 0 end), 0) as month_area, round(sum(case when to_char(sell_date, 'yyyy-MM') = to_char(to_date('2024-02', 'yyyy-MM') - interval '1 month', 'yyyy-MM') then land_area * 0.0015 else 0 end), 0) as last_month_area from zlzd.land_supply where province = '浙江省' and to_char(sell_date, 'yyyy-MM') in ('2024-02', to_char(to_date('2024-02', 'yyyy-MM') - interval '1 month', 'yyyy-MM')) group by province"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省本月土地供应出让金额环比数据",
- "sql_code": "select province, round(sum(case when to_char(sell_date, 'yyyy-MM') = '2024-02' then amount else 0 end), 2) as month_amount, round(sum(case when to_char(sell_date, 'yyyy-MM') = to_char(to_date('2024-02', 'yyyy-MM') - interval '1 month', 'yyyy-MM') then amount else 0 end), 2) as prev_month_amount from zlzd.land_supply where province = '浙江省' and to_char(sell_date, 'yyyy-MM') in ('2024-02', to_char(to_date('2024-02', 'yyyy-MM') - interval '1 month', 'yyyy-MM')) group by province"
- },
- {
- "query_type": "land_supply",
- "query": "今年浙江省工业用地出让行业分布情况",
- "sql_code": "select industry, round(sum(land_area) * 0.0015, 0) from zlzd.land_supply where industry in ('制造业', '电力、燃气及水的生产和供应业', '交通运输、仓储和邮政业') and land_use_type like '06%' and land_supply_type similar to '(2|3)%' and province = '浙江省' and to_char(sell_date, 'yyyy') = to_char(current_date, 'yyyy') group by industry"
- },
- {
- "query_type": "land_supply",
- "query": "请分析浙江省今年土地供应结构",
- "sql_code": "select landType, sum(landArea)::int as landArea from (SELECT case when substr(t.land_use_type, 1, 2) = '05' then '商服用地' when substr(t.land_use_type, 1, 2) = '06' then '工矿仓储用地' when substr(t.land_use_type, 1, 2) = '07' then '住宅用地' else '基础设施用地' end as landType, ROUND(sum(land_area) * 0.0015) landArea FROM zlzd.land_supply_structure t WHERE t.land_supply_type not like '7%' AND province = '浙江省' AND to_char(t.sell_date, 'yyyy') = to_char(CURRENT_DATE, 'YYYY') GROUP BY substr(t.land_use_type, 1, 2) order by substr(land_use_type, 1, 2)) t group by landType"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省今年土地供应结构",
- "sql_code": "select landType, sum(landArea)::int as landArea from (SELECT case when substr(t.land_use_type, 1, 2) = '05' then '商服用地' when substr(t.land_use_type, 1, 2) = '06' then '工矿仓储用地' when substr(t.land_use_type, 1, 2) = '07' then '住宅用地' else '基础设施用地' end as landType, ROUND(sum(land_area) * 0.0015) landArea FROM zlzd.land_supply_structure t WHERE t.land_supply_type not like '7%' AND province = '浙江省' AND to_char(t.sell_date, 'yyyy') = to_char(CURRENT_DATE, 'YYYY') GROUP BY substr(t.land_use_type, 1, 2) order by substr(land_use_type, 1, 2)) t group by landType"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省2023年土地供应结构情况",
- "sql_code": "select landType, sum(landArea)::int as landArea from (SELECT case when substr(t.land_use_type, 1, 2) = '05' then '商服用地' when substr(t.land_use_type, 1, 2) = '06' then '工矿仓储用地' when substr(t.land_use_type, 1, 2) = '07' then '住宅用地' else '基础设施用地' end as landType, ROUND(sum(land_area) * 0.0015) landArea FROM zlzd.land_supply_structure t WHERE t.land_supply_type not like '7%' AND province = '浙江省' AND to_char(t.sell_date, 'yyyy') = '2023' GROUP BY substr(t.land_use_type, 1, 2) order by substr(land_use_type, 1, 2)) t group by landType"
- },
- {
- "query_type": "land_supply",
- "query": "请分析浙江省2024年各地级市土地供应情况",
- "sql_code": "select city, substr(region_code, 1, 4) , count(1) as supplyNums, round(sum(amount), 2) as totalAmounts, round(sum(land_area * 0.0015), 0)::int as totalAreas from zlzd.land_supply where to_char(sell_date, 'yyyy') = '2024' and province = '浙江省' group by city, substr(region_code, 1, 4) order by substr(region_code, 1, 4)"
- },
- {
- "query_type": "land_supply",
- "query": "浙江省今年各地级市土地供应情况",
- "sql_code": "select city, substr(region_code, 1, 4) , count(1) as supplyNums, round(sum(amount), 2) as totalAmounts, round(sum(land_area * 0.0015), 0)::int as totalAreas from zlzd.land_supply where to_char(sell_date, 'yyyy') = to_char(CURRENT_DATE, 'YYYY') and province = '浙江省' group by city, substr(region_code, 1, 4) order by substr(region_code, 1, 4)"
- },
- {
- "query_type": "land_supply",
- "query": "请分析近几年杭州市工业用地出让情况",
- "sql_code": "select to_char(sell_date, 'yyyy') as 供应年份, round(sum(land_area) * 0.0015, 0)::int as 工业用地供应总面积 from zlzd.land_supply_structure where to_char(sell_date, 'yyyy') >= to_char(current_date - interval '5 year', 'yyyy') and city = '杭州市' and land_supply_type not like '3%' and land_use_type like '06%' group by select to_char(sell_date, 'yyyy') order by select to_char(sell_date, 'yyyy')"
- },
- {
- "query_type": "land_supply",
- "query": "杭州市近几年工业用地出让情况",
- "sql_code": "select to_char(sell_date, 'yyyy') as 供应年份, round(sum(land_area) * 0.0015, 0)::int as 工业用地供应总面积 from zlzd.land_supply_structure where to_char(sell_date, 'yyyy') >= to_char(current_date - interval '5 year', 'yyyy') and city = '杭州市' and land_supply_type not like '3%' and land_use_type like '06%' group by select to_char(sell_date, 'yyyy') order by select to_char(sell_date, 'yyyy')"
- },
- {
- "query_type": "land_supply",
- "query": "请分析近几年杭州市住宅用地出让情况",
- "sql_code": "select to_char(sell_date, 'yyyy') as 供应年份, round(sum(land_area) * 0.0015, 0)::int as 住宅用地供应总面积 from zlzd.land_supply_structure where to_char(sell_date, 'yyyy') >= to_char(current_date - interval '5 year', 'yyyy') and city = '杭州市' and land_supply_type not like '3%' and land_use_type like '07%' group by select to_char(sell_date, 'yyyy') order by select to_char(sell_date, 'yyyy')"
- },
- {
- "query_type": "land_supply",
- "query": "杭州市近几年住宅用地出让情况",
- "sql_code": "select to_char(sell_date, 'yyyy') as 供应年份, round(sum(land_area) * 0.0015, 0)::int as 住宅用地供应总面积 from zlzd.land_supply_structure where to_char(sell_date, 'yyyy') >= to_char(current_date - interval '5 year', 'yyyy') and city = '杭州市' and land_supply_type not like '3%' and land_use_type like '07%' group by select to_char(sell_date, 'yyyy') order by select to_char(sell_date, 'yyyy')"
- },
- {
- "query_type": "land_supply",
- "query": "请分析近几年杭州市商业用地出让情况",
- "sql_code": "select to_char(sell_date, 'yyyy') as 供应年份, round(sum(land_area) * 0.0015, 0)::int as 商业用地供应总面积 from zlzd.land_supply_structure where to_char(sell_date, 'yyyy') >= to_char(current_date - interval '5 year', 'yyyy') and city = '杭州市' and land_supply_type not like '3%' and land_use_type like '05%' group by select to_char(sell_date, 'yyyy') order by select to_char(sell_date, 'yyyy')"
- },
- {
- "query_type": "land_supply",
- "query": "杭州市近几年商业用地出让情况",
- "sql_code": "select to_char(sell_date, 'yyyy') as 供应年份, round(sum(land_area) * 0.0015, 0)::int as 商业用地供应总面积 from zlzd.land_supply_structure where to_char(sell_date, 'yyyy') >= to_char(current_date - interval '5 year', 'yyyy') and city = '杭州市' and land_supply_type not like '3%' and land_use_type like '05%' group by select to_char(sell_date, 'yyyy') order by select to_char(sell_date, 'yyyy')"
- },
- {
- "query_type": "land_supply",
- "query": "请分析浙江省各地级市标准地供应情况",
- "sql_code": "select substr(region_code, 1, 4) as region_code, city, round(sum(land_area) * 0.0015, 0)::int land_total_area from zlzd.land_supply_structure where to_char(current_date, 'yyyy') = to_char(current_date, 'yyyy') and province = '浙江省' and region_code is not null and is_sampleplot = '是' group by city, substr(region_code, 1, 4) order by region_code"
- },
- {
- "query_type": "land_supply",
- "query": "今年浙江省各地级市标准地供应情况",
- "sql_code": "select to_char(sell_date, 'yyyy') as supply_year, round(sum(land_area) * 0.0015, 0)::int as land_total_area from zlzd.land_supply_structure where to_char(sell_date, 'yyyy') >= to_char(current_date - interval '5 year', 'yyyy') and city = '杭州市' and land_supply_type not like '3%' and land_use_type like '07%' group by supply_year order by supply_year"
- },
- {
- "query_type": "land_supply",
- "query": "请分析近几年浙江省供地同比和环比增长率",
- "sql_code": "select supply_month, round((land_total_area - pre_month)::numeric * 100 / pre_month , 2) as qoq, round((land_total_area - last_year_month)::numeric * 100 / last_year_month , 2) as yoy from (select supply_month, land_total_area, lag(land_total_area, 1) over (order by supply_month ) pre_month, lag(land_total_area, 12) over (order by supply_month ) last_year_month from (select to_char(sell_date, 'yyyy-mm') as supply_month, round(sum(land_area) * 0.0015, 0)::int as land_total_area from zlzd.land_supply where to_char(sell_date, 'yyyy-mm') <= to_char(current_date, 'yyyy-mm') and to_char(sell_date, 'yyyy-mm') >= '2015-01-01' group by supply_month order by supply_month) t) t order by supply_month desc limit 12"
- },
- {
- "query_type": "land_supply",
- "query": "杭州市2024年至今,住宅、工业、商服用地出让的宗数和面积是多少?",
- "sql_code": "select land_use_type_alias_cn as 土地用途, count(1) as 出让宗数, sum(land_area) as 出让总面积  from nrllm.land_supply where city = '杭州市' and to_char(sell_date, 'yyyy') >= '2024' and sell_date <= current_date group by land_use_type_alias_cn"
- },
- {
- "query_type": "land_supply",
- "query": "杭州市今年各行政区土地出让的数量分布如何",
- "sql_code": "select county, count(1) nums from nrllm.land_supply where city = '杭州市' and  to_char(sell_date, 'yyyy') = to_char(current_date, 'yyyy') group by county"
- }
-]

+ 0 - 12
aiAgent_gd/qwen_agent/memory/data/sqls/sql_examples_土地市场监测.jsonl.backup

@@ -1,12 +0,0 @@
-[
- {
- "query_type": "land_supply",
- "query": "请分析浙江省近几年土地供应总体情况",
- "sql_code": "select to_char(sell_date, 'yyyy') as 供应年份, count(1) as 土地宗数, round(sum(land_area * 0.0015), 0)::int as 土地面积, round(sum(amount), 2) as 土地金额 from nrllm.land_supply where province = '浙江省' and to_char(sell_date, 'yyyy') > to_char(current_date - interval '5 year', 'yyyy') group by to_char(sell_date, 'yyyy') order by to_char(sell_date, 'yyyy')"
- },
- {
- "query_type": "land_supply",
- "query": "请分析浙江省今年土地供应结构",
- "sql_code": "select landType, sum(landArea)::int as landArea from (SELECT case when substr(t.land_use_type, 1, 2) = '05' then '商服用地' when substr(t.land_use_type, 1, 2) = '06' then '工矿仓储用地' when substr(t.land_use_type, 1, 2) = '07' then '住宅用地' else '基础设施用地' end as landType, ROUND(sum(land_area) * 0.0015) landArea FROM zlzd.land_supply_structure t WHERE province = '浙江省' AND to_char(t.sell_date, 'yyyy') = to_char(CURRENT_DATE, 'YYYY') GROUP BY substr(t.land_use_type, 1, 2) order by substr(land_use_type, 1, 2)) t group by landType"
- }
-]

+ 0 - 52
aiAgent_gd/qwen_agent/memory/data/sqls/sql_examples_调查监测分析.jsonl.backup

@@ -1,52 +0,0 @@
-[
- {
- "query_type": "land_use",
- "query": "浙江省2020年土地利用现状总面积是多少",
- "sql_code": "select sum(area) as 总面积 from nrllm.source_land_use_summary where province = '浙江省' and year = '2020'"
- },
- {
- "query_type": "land_use",
- "query": "请分析2022年全国土地利用一级地类现状",
- "sql_code": "select major_category as 一级地类名称, sum(area) as 面积 from nrllm.land_use_summary where year = '2022' group by major_category"
- },
- {
- "query_type": "land_use",
- "query": "请分析2022年全国各省耕地总体情况",
- "sql_code": "select province as 省, sum(area) as 耕地面积 from nrllm.land_use_summary where year= '2022' and major_category = '耕地' group by province order by 耕地面积"
- },
- {
- "query_type": "land_use",
- "query": "请分析2022年浙江省各地级市湿地总体情况",
- "sql_code": "select city as 城市, sum(area) as 湿地面积 from nrllm.land_use_summary where year= '2022' and province = '浙江省' and major_category = '耕地' group by city order by 湿地面积"
- },
- {
- "query_type": "land_use",
- "query": "请分析自2019年以来,全国耕地总量的变化情况",
- "sql_code": "select year as 年份, sum(area) as 耕地面积 from nrllm.land_use_summary where year >= '2019' and major_category = '耕地' group by year order by year"
- },
- {
- "query_type": "land_use",
- "query": "请分析浙江省近几年耕地总量变化情况",
- "sql_code": "select year as 年份, sum(area) as 耕地面积 from nrllm.land_use_summary where province = '浙江省' and major_category = '耕地' group by year order by year"
- },
- {
- "query_type": "land_use",
- "query": "请分析2022年浙江省耕地各二级地类总量",
- "sql_code": "select minor_category as 二级类, sum(area) as 面积 from nrllm.land_use_summary where year = '2022' and province = '浙江省' and major_category = '耕地' group by minor_category order by 面积"
- },
- {
- "query_type": "land_use",
- "query": "请分析自2020年以来浙江省耕地同比变化情况",
- "sql_code": "select 年份, 耕地面积, 上一年耕地面积, round((耕地面积 - 上一年耕地面积)::numeric / 上一年耕地面积 * 100, 2) 同比百分比 from (select year as 年份, sum(area) as 耕地面积, lag(sum(area), 1) OVER (ORDER BY year) 上一年耕地面积, year from nrllm.land_use_summary where province = '浙江省' and major_category = '耕地' group by year order by year) t where year >= '2020' and year <= '2022'"
- },
- {
- "query_type": "land_use",
- "query": "请分析2020年至2022年杭州市耕地年度变化同比情况",
- "sql_code": "select 年份, 耕地面积, 上一年耕地面积, round((耕地面积 - 上一年耕地面积)::numeric / 上一年耕地面积 * 100, 2) 同比百分比 from (select year as 年份, sum(area) as 耕地面积, lag(sum(area), 1) OVER (ORDER BY year) 上一年耕地面积, year from nrllm.land_use_summary where city = '杭州市' and major_category = '耕地' group by year order by year) t where year >= '2020' and year <= '2022'"
- },
- {
- "query_type": "land_use",
- "query": "请分析2019-2022年浙江省红树林地的变化情况",
- "sql_code": "select year as 年份, sum(area) as 红树林地面积 from nrllm.land_use_summary where province = '浙江省' and minor_category = '红树林地' and year between '2019' and '2022' group by year order by 红树林地面积"
- }
-]