|  | @@ -32,7 +32,7 @@ def inputMsg():
 | 
	
		
			
				|  |  |      landType是用地类型,
 | 
	
		
			
				|  |  |      area是用地大小,单位统一转换为亩
 | 
	
		
			
				|  |  |      factors是相关因子,公里、千米的单位转换为米,
 | 
	
		
			
				|  |  | -    请把这句话:"{input_info}",转换为以下格式:{{"landType": "耕地","area": {{ "min": 50,"max": 80}},"factors": [{{"type": "水库","condition": "大于","value": "100"}},{{"type": "小学服务半径","condition": "小于","value": "1000"}},{{"type": "永久基本农田","condition": "不相交" }}, {{"type": "城镇开发边界内","condition": "包含"}}]}},
 | 
	
		
			
				|  |  | +    请把这句话:"{msg}",转换为以下格式:{{"landType": "耕地","area": {{ "min": 50,"max": 80}},"factors": [{{"type": "水库","condition": "大于","value": "100"}},{{"type": "小学服务半径","condition": "小于","value": "1000"}},{{"type": "永久基本农田","condition": "不相交" }}, {{"type": "城镇开发边界内","condition": "包含"}}]}},
 | 
	
		
			
				|  |  |      并把condition中大于、小于、大于等于、小于等于、介于分别替换为gt、lt、get、let、between,然后把结果进行输出
 | 
	
		
			
				|  |  |      """
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -47,9 +47,9 @@ def inputMsg():
 | 
	
		
			
				|  |  |          print(res["response"])
 | 
	
		
			
				|  |  |      except Exception as e:
 | 
	
		
			
				|  |  |          print(f"生成过程中出现错误: {e}")
 | 
	
		
			
				|  |  | -        
 | 
	
		
			
				|  |  | -        json_res = res["response"]
 | 
	
		
			
				|  |  | -        json_res = json.loads(json_res)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    json_res = res["response"]
 | 
	
		
			
				|  |  | +    json_res = json.loads(json_res)
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      # 返回响应
 |