Spaces:
Sleeping
Sleeping
File size: 432 Bytes
bf6dbfa 0643073 bf6dbfa 0643073 bf6dbfa 0643073 bf6dbfa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | from typing import TypedDict, List, Optional, Dict, Any
class AgentState(TypedDict):
"""
Shared state object used by the agent graph.
"""
conversation_history: List[Dict[str, str]]
current_message: str
detected_intent: Optional[str]
retrieved_documents: List[str]
user_name: Optional[str]
user_email: Optional[str]
creator_platform: Optional[str]
lead_ready: bool
response: str
|