File size: 349 Bytes
1bbca12
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from typing import TypedDict, List
from langchain_core.messages import AnyMessage

class JARVISState(TypedDict):
    task_id: str
    question: str
    tools_needed: List[str]
    web_results: List[str]
    file_results: str
    image_results: str
    calculation_results: str
    document_results: str
    messages: List[AnyMessage]
    answer: str