mirror of
https://github.com/dataforcanada/d4c-service-geo-assistant.git
synced 2026-06-15 07:21:02 +02:00
basic place geometry creation from initial query
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
from langchain.agents import AgentState as BaseAgentState
|
||||
from geojson_pydantic import FeatureCollection
|
||||
from typing import Optional
|
||||
from pydantic import Field
|
||||
|
||||
|
||||
class AgentState(BaseAgentState):
|
||||
feature_collection: Optional[FeatureCollection] = Field(
|
||||
default=None, description="FeatureCollection to be used for the analysis"
|
||||
)
|
||||
place: Optional[FeatureCollection]
|
||||
|
||||
Reference in New Issue
Block a user