Files
d4c-service-geo-assistant/src/geo_assistant/agent/state.py
T
Martha Morrissey 24c53b66e3 feat: add buffer tool (#8)
* 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>
2025-12-04 15:14:38 +00:00

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]