Spaces:
Runtime error
Runtime error
Download src/genai/analytics_chatbot/utils/state.py from subashdvorak/trygithubactions: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/spaces/subashdvorak/trygithubactions/resolve/main/src/genai/analytics_chatbot/utils/state.py
- Command line
-
hf download hf://spaces/subashdvorak/trygithubactions/src/genai/analytics_chatbot/utils/state.py
-
curl -L -o state.py https://huggingface.co/spaces/subashdvorak/trygithubactions/resolve/main/src/genai/analytics_chatbot/utils/state.py
305 Bytes
| 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] | |
| endpoint: str | |
| method: str | |
| parameters: dict | |
| response:dict | |
| error_message:str |