Spaces:
Sleeping
Sleeping
File size: 429 Bytes
3002e1b a6a0614 3002e1b 8ce97f0 a6a0614 872d043 a6a0614 93d50e5 0b2c9fd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from pydantic import BaseModel, ConfigDict , Field
from typing import Annotated , TypedDict
from langgraph.graph.message import add_messages
class State(TypedDict):
messages: Annotated[list, add_messages]
possible_endpoints:list
endpoint: str
method: str
needed_parameters: dict
response:dict
error_message:str
latest_message:str
parameters_values:str
backup_data:str
query_type: str |