Spaces:
Sleeping
Sleeping
Download src/langgraphagenticai/state/state.py from sahandkh1419/LangGraph_ChatBot: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/spaces/sahandkh1419/LangGraph_ChatBot/resolve/main/src/langgraphagenticai/state/state.py
- Command line
-
hf download hf://spaces/sahandkh1419/LangGraph_ChatBot/src/langgraphagenticai/state/state.py
-
curl -L -o state.py https://huggingface.co/spaces/sahandkh1419/LangGraph_ChatBot/resolve/main/src/langgraphagenticai/state/state.py
271 Bytes
| from typing_extensions import TypedDict,List | |
| from langgraph.graph.message import add_messages | |
| from typing import Annotated | |
| class State(TypedDict): | |
| """ | |
| Represent the structure of the state used in graph | |
| """ | |
| messages: Annotated[List,add_messages] |