Spaces:
Build error
Build error
Download src/langgraphagenticai/state/state.py from Techiiot/sandeep_basic_chatbot: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/Techiiot/sandeep_basic_chatbot/resolve/main/src/langgraphagenticai/state/state.py
- Command line
-
hf download hf://spaces/Techiiot/sandeep_basic_chatbot/src/langgraphagenticai/state/state.py
-
curl -L -o state.py https://huggingface.co/spaces/Techiiot/sandeep_basic_chatbot/resolve/main/src/langgraphagenticai/state/state.py
388 Bytes
| from typing import Annotated, Literal, Optional | |
| from typing_extensions import TypedDict | |
| from langgraph.graph.message import add_messages | |
| from typing import TypedDict, Annotated, List | |
| from langchain_core.messages import HumanMessage, AIMessage | |
| class State(TypedDict): | |
| """ | |
| Represents the structure of the state used in the graph. | |
| """ | |
| messages: Annotated[list, add_messages] |