Spaces:
Sleeping
Sleeping
Download python_backend/src/Agents/models/interview_model.py from VashuTheGreat2/ML-Learner: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/python_backend/src/Agents/models/interview_model.py
- Command line
-
hf download hf://spaces/VashuTheGreat2/ML-Learner/python_backend/src/Agents/models/interview_model.py
-
curl -L -o interview_model.py https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/python_backend/src/Agents/models/interview_model.py
402 Bytes
| from pydantic import BaseModel | |
| from typing import List, Annotated, Optional | |
| from langgraph.graph.message import add_messages | |
| from langchain_core.messages import BaseMessage | |
| class ChatState(BaseModel): | |
| messages: Annotated[List[BaseMessage], add_messages] | |
| topic: Optional[str] = None | |
| time_remaining: int # in seconds | |
| questions_generated: bool = False | |
| questions: Optional[str] = None |