Files
d4c-service-geo-assistant/src/geo_assistant/agent/state.py
T
Daniel Wiesmann 9b202c504e Render naip and summarize (#20)
* Intermediate

* Fix naip geom handling

* Fix imagery decoding for summary tool

* Re enable xfail

* Re enable xfail

* Remove png references
2025-12-05 15:39:16 +00:00

15 lines
436 B
Python

from typing import NotRequired
from geojson_pydantic import Feature
from langchain.agents import AgentState
from pydantic import Field
class GeoAssistantState(AgentState):
place: NotRequired[Feature | None] = None
search_area: NotRequired[Feature | None] = None
naip_img_bytes: NotRequired[str | None] = Field(
default=None,
description="Base 64 encoded bytes str of the saved NAIP RGB JPEG image",
)