Add RIVERS_PATH and BUILDINGS_PATH to execute_python_code docstring so agent knows about them
Browse files
chatbot/agentic_rag/tools.py
CHANGED
|
@@ -81,6 +81,8 @@ def execute_python_code(code: str) -> str:
|
|
| 81 |
Use this tool to execute arbitrary Python code for spatial reasoning and data analysis.
|
| 82 |
SCHEMA GUIDE:
|
| 83 |
- Primary dataset: `LAKES_PATH` (A pre-defined global variable containing the path to the geopackage).
|
|
|
|
|
|
|
| 84 |
- Dataset CRS: ESRI:102025 (Asia North Albers, units=meters).
|
| 85 |
- Elevation Columns: Use 'Elevation' or 'surface_elevation_m' for lake elevation.
|
| 86 |
- LAKE TYPE MAPPING: Use 'lake_type' column with these codes:
|
|
|
|
| 81 |
Use this tool to execute arbitrary Python code for spatial reasoning and data analysis.
|
| 82 |
SCHEMA GUIDE:
|
| 83 |
- Primary dataset: `LAKES_PATH` (A pre-defined global variable containing the path to the geopackage).
|
| 84 |
+
- River dataset: `RIVERS_PATH` (Contains river network with 'river_id' and 'geometry').
|
| 85 |
+
- Buildings dataset: `BUILDINGS_PATH` (Contains structures with 'geometry').
|
| 86 |
- Dataset CRS: ESRI:102025 (Asia North Albers, units=meters).
|
| 87 |
- Elevation Columns: Use 'Elevation' or 'surface_elevation_m' for lake elevation.
|
| 88 |
- LAKE TYPE MAPPING: Use 'lake_type' column with these codes:
|