mirror of
https://github.com/dataforcanada/d4c-service-geo-assistant.git
synced 2026-06-13 22:41:01 +02:00
24c53b66e3
* wip buffer tool * add search area to attribute * add geopandas dependency * add buffer tool and fix graph to add in the overture tool * make async * simpler buffering * cleaner comments Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> * Change from FeatureCollection to Feature And ensure that output search area is a Polygon * update test comments * remove unhelpful test checks --------- Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> Co-authored-by: Daniel Wiesmann <yellowcap@users.noreply.github.com>
9 lines
208 B
Python
9 lines
208 B
Python
from langchain.agents import AgentState
|
|
from geojson_pydantic import Feature
|
|
from typing import Optional
|
|
|
|
|
|
class GeoAssistantState(AgentState):
|
|
place: Optional[Feature]
|
|
search_area: Optional[Feature]
|