Download state.py from MoBkr/dosemate: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/MoBkr/dosemate/resolve/main/state.py
- Command line
-
hf download hf://spaces/MoBkr/dosemate/state.py
-
curl -L -o state.py https://huggingface.co/spaces/MoBkr/dosemate/resolve/main/state.py
325 Bytes
| from typing import Annotated, Optional | |
| from typing_extensions import TypedDict | |
| from langgraph.graph.message import add_messages | |
| class State (TypedDict): | |
| query: str | |
| messages: Annotated[list, add_messages] | |
| content: Optional[list[str]] | |
| rewritten_query: Optional[str] | |
| response: Optional[str] | |
| image: Optional[bytes] |