Spaces:
Sleeping
Sleeping
File size: 322 Bytes
48d9af7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from typing import List, TypedDict
from langchain_core.messages import BaseMessage
# Define the state for the system
class TutorState(TypedDict):
messages: List[BaseMessage]
next: str
quiz: List[dict]
quiz_created: bool
question_answered: bool
flashcards_created: bool
flashcard_filename: str
|