File size: 373 Bytes
938a178 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from typing import TypedDict, List, Optional, Dict, Any
class GraphState(TypedDict):
ticker: str
query: str # general query / task
# outputs collected from agents
news_summary: Optional[str]
earnings_summary: Optional[str]
market_summary: Optional[str]
# bookkeeping
completed: List[str]
# final
final_recommendation: Optional[str] |