mirror of
https://github.com/dataforcanada/d4c-service-geo-assistant.git
synced 2026-06-14 15:01:01 +02:00
9b202c504e
* Intermediate * Fix naip geom handling * Fix imagery decoding for summary tool * Re enable xfail * Re enable xfail * Remove png references
15 lines
436 B
Python
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",
|
|
)
|