@@ -38,6 +38,6 @@ class PlanExampleRetrieval():
if __name__=="__main__":
- # print(os.path.abspath(os.path.dirname(__file__)))
+ print(os.path.abspath(os.path.dirname(__file__)))
print(get_data_from_jsons(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data'), 'plans'))
# print(os.path.join(os.path.abspath(os.path.dirname(__file__)),'data/sqls.jsonl'))
@@ -52,6 +52,7 @@ class LandFindSqlAgent(BaseSubAgent):
注意8: 查询语句select只包含objectid这个字段
注意9: 只准生成查询 的sql 语句,不可生成任何 修改数据的语句, 比如:update, delete, insert, truncate 等
注意10: gcs330000g2001_yjjbnt_gx_xsb数据表的schema是dlgis
+ 注意11: 永久基本农田的表名是dlgis.gcs330000g2001_yjjbnt_gx_xsb
"""
self.retriever = SqlRetriever(query_type='land_find')