Spaces:
Sleeping
Sleeping
File size: 471 Bytes
c99f0eb 9fb6d05 c99f0eb 9fb6d05 c99f0eb 7fb0070 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from typing_extensions import TypedDict
from typing import Annotated
from langgraph.graph.message import add_messages
class AgentState(TypedDict, total=False):
messages: Annotated[list, add_messages]
web_search_query: str
ocr_path: str
excel_path: str
excel_sheet_name: str
web_search_result: str
ocr_result: str
excel_result: str
final_answer: str
user_input: str
audio_path: str
transcript: str
audio_transcript: str |